Browse Source
Bug#30981 CHAR(0x41 USING ucs2) doesn't add leading zero
Bug#30981 CHAR(0x41 USING ucs2) doesn't add leading zero
Bug#30982 CHAR(..USING..) can return a not-well-formed string Bug#30986 Character set introducer followed by a HEX string can return bad result check_well_formed_result moved to Item from Item_str_func fixed Item_func_char::val_str for proper ucs symbols converting added check for well formed strings for correct conversion of constants with underscore charset mysql-test/r/ctype_ucs.result: test result mysql-test/r/ctype_utf8.result: test result mysql-test/t/ctype_ucs.test: test case mysql-test/t/ctype_utf8.test: test case sql/item.cc: check_well_formed_result() moved from Item_str_func sql/item.h: check_well_formed_result() moved from Item_str_func sql/item_strfunc.cc: check_well_formed_result moved to Item fixed Item_func_char::val_str for proper ucs symbols converting sql/item_strfunc.h: check_well_formed_result moved to Item sql/sql_yacc.yy: added check for well formed stringpull/374/head
9 changed files with 148 additions and 39 deletions
-
3mysql-test/r/ctype_ucs.result
-
66mysql-test/r/ctype_utf8.result
-
5mysql-test/t/ctype_ucs.test
-
19mysql-test/t/ctype_utf8.test
-
35sql/item.cc
-
1sql/item.h
-
35sql/item_strfunc.cc
-
1sql/item_strfunc.h
-
22sql/sql_yacc.yy
Write
Preview
Loading…
Cancel
Save
Reference in new issue