• unknown's avatar
    Fixed ambiguity between the row value syntax and INTERVAL syntax by making the · 2506b70d
    unknown authored
    ROW keyword mandatory (although it's optional in SQL-99).
    
    
    mysql-test/r/row_test.result:
      New results with the ROW syntax.
    mysql-test/t/row_test.test:
      Updated tests to use the ROW keyword.
    sql/sql_yacc.yy:
      Fixed ambiguity between the row value syntax and INTERVAL syntax by making the
      ROW keyword mandatory (although it's optional in SQL-99).
      The real problem might actually be INTERVAL, where the two rules
      "INTERVAL_SYM expr interval '+' expr" and
      "INTERVAL_SYM '(' expr ',' expr_list ')'" caused 40+ reduce/reduce conflicts
      with the rows value syntax.
      So possibly, the INTERVAL syntax should be fixed instead...
    2506b70d
row_test.result 1.44 KB