diff options
author | unknown <bar@mysql.com> | 2005-11-07 12:34:19 +0400 |
---|---|---|
committer | unknown <bar@mysql.com> | 2005-11-07 12:34:19 +0400 |
commit | 85cc43802bee44bcf02b459812ac8d77aa83a85f (patch) | |
tree | 8e98af338f584a95ea86d3f6720564cbd14a6f1c /sql/item_strfunc.h | |
parent | a67e6fdf8ba67fcefd7d2009e3cef2a45c68df25 (diff) | |
download | mariadb-git-85cc43802bee44bcf02b459812ac8d77aa83a85f.tar.gz |
Bug#14146 CHAR(...USING ...) and CONVERT(CHAR(...) USING...) produce different results
ctype_utf8.result, ctype_utf8.test:
Adding test case.
item_strfunc.cc:
item_strfunc.h:
Moving the well formed checking code into a method,
to reuse in several Item_func_xxx. Reusing the new
method in Item_func_char and Item_func_charset_conv.
sql/item_strfunc.h:
Bug#14146 CHAR(...USING ...) and CONVERT(CHAR(...) USING...) produce different results
Moving the well formed checking code into a method,
to reuse in several Item_func_xxx.
sql/item_strfunc.cc:
Moving the well formed checking code into a method,
to reuse in several Item_func_xxx.
mysql-test/t/ctype_utf8.test:
Adding test case.
mysql-test/r/ctype_utf8.result:
Adding test case.
Diffstat (limited to 'sql/item_strfunc.h')
-rw-r--r-- | sql/item_strfunc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h index 5889821293d..d196fac87e8 100644 --- a/sql/item_strfunc.h +++ b/sql/item_strfunc.h @@ -35,6 +35,7 @@ public: double val_real(); enum Item_result result_type () const { return STRING_RESULT; } void left_right_max_length(); + String *check_well_formed_result(String *str); }; class Item_func_md5 :public Item_str_func |