• unknown's avatar
    Task 430: Allowing braces in joins by simply removing them. · 9bca9fb7
    unknown authored
    This is a simple fix, allowing a join_table_list in the right reduction of a
    normal_join sequence, instead of just a join_table. This makes things like
    "t1, (t2 left join t3)" work, but it also allows "join" and "cross join" instead
    of ",".
    
    This should fix the bug reported as:
      Subject: ODBC SQL syntax issue 
      From: Ivan Vazharov 
      Date: Mon, 30 Sep 2002 12:02:42 +0200 
    
    
    mysql-test/r/select.result:
      Results from new test cases for removing braces in joins.
    mysql-test/t/select.test:
      New test cases for removing braces in joins.
    sql/sql_yacc.yy:
      Allow (and remove) braces in all parts of a normal_join list, not just the
      first one.
      Also added three missing ';'.
    BitKeeper/etc/logging_ok:
      Logging to logging@openlogging.org accepted
    9bca9fb7
sql_yacc.yy 92.9 KB