diff options
author | gluh@mysql.com/eagle.(none) <> | 2007-10-11 16:07:10 +0500 |
---|---|---|
committer | gluh@mysql.com/eagle.(none) <> | 2007-10-11 16:07:10 +0500 |
commit | db39976a0658d2e17273b4816289ef6093071591 (patch) | |
tree | 8789a2b0f9db5501bfb30bb5adfb6ccb9efeb7ef /sql/item.h | |
parent | 20ec6605d349c3cfa5c062a9818612616bbe3baa (diff) | |
download | mariadb-git-db39976a0658d2e17273b4816289ef6093071591.tar.gz |
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
Diffstat (limited to 'sql/item.h')
-rw-r--r-- | sql/item.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item.h b/sql/item.h index cd0be343a62..a2a06f7d917 100644 --- a/sql/item.h +++ b/sql/item.h @@ -870,6 +870,7 @@ public: */ virtual bool result_as_longlong() { return FALSE; } bool is_datetime(); + String *check_well_formed_result(String *str); }; |