• unknown's avatar
    Stupid bug fixes in sql_yacc.cc · 56e866ae
    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
    56e866ae
item_strfunc.h 19.3 KB