• unknown's avatar
    Bug#8733 - server accepts malformed query (multiply mentioned distinct) · 19b86438
    unknown authored
      Detect conflicting options in SELECT
    
    
    mysql-test/r/select.result:
      Test for bug#8733
    mysql-test/t/select.test:
      Test for bug#8733
    sql/mysql_priv.h:
      New bit for ALL
    sql/sql_yacc.yy:
      We want to complain if DISTINCT or ALL is used in SELECT when a
      conflicting option is already selected.
    19b86438
mysql_priv.h 48 KB