• unknown's avatar
    Stupid bug fixes in sql_yacc.cc · f424c8fc
    unknown authored
    New class Item_func_set_collation()
    Fixed that "SELECT CONVERT(expr USING charset) GROUP BY 1" was not working
    New COLLATION syntax:  <expr> COLLATE latin1 
    
    
    mysql-test/r/ctype_many.result:
      New test slot has been added
    mysql-test/t/ctype_many.test:
      New test slot has been added
    sql/item_strfunc.cc:
      "SELECT CONVERT(expr USING another_charset) GROUP BY 1"  was not working as expected
      New Item_func_set_collation class
    sql/item_strfunc.h:
      "SELECT CONVERT(expr USING another_charset) GROUP BY 1"  was not working as expected
      New Item_func_set_collation class
    sql/lex.h:
      New keyword
    sql/sql_yacc.yy:
      Stupid bug fixes
      COLLATION syntax
    f424c8fc
sql_yacc.yy 102 KB