• Gleb Shchepa's avatar
    Bug #53034: Multiple-table DELETE statements not accepting · ccab4d87
    Gleb Shchepa authored
                "Access compatibility" syntax
    
    The "wild" "DELETE FROM table_name.* ... USING ..." syntax
    for multi-table DELETE statements is documented but it was
    lost in the fix for the bug 30234.
    
    The table_ident_opt_wild parser rule has been added
    to restore the lost syntax.
    
    
    mysql-test/r/delete.result:
      Test case for bug #53034.
    mysql-test/t/delete.test:
      Test case for bug #53034.
    sql/sql_yacc.yy:
      Bug #53034: Multiple-table DELETE statements not accepting
                  "Access compatibility" syntax
      
      The table_ident_opt_wild parser rule has been added
      to restore the lost syntax.
      Note: simple extending of table_ident with opt_wild in
      the table_alias_ref rule is not acceptable, because
      a) it adds one conflict more and b) this conflict resolves
      in the inappropriate way.
    ccab4d87
delete.test 9.95 KB