diff options
author | unknown <bar@mysql.com> | 2004-12-06 20:45:32 +0400 |
---|---|---|
committer | unknown <bar@mysql.com> | 2004-12-06 20:45:32 +0400 |
commit | 8ec6cf2cd5ed54f1336784ffe548a813cbbde172 (patch) | |
tree | a397eb25eef58a660d9d2e554e7c8f8800bdb8f4 /sql/item_strfunc.cc | |
parent | 678fff408a8cd475555d3bbce3d77fd0a2c76a4a (diff) | |
download | mariadb-git-8ec6cf2cd5ed54f1336784ffe548a813cbbde172.tar.gz |
UCS2 support in ENUM and SET, which also fixes:
Bug #5174 SHOW CREATE TABLE hangs up if the table contains half-with katakana enum values
UCS2 values are stored in HEX encoding in FRM file
Diffstat (limited to 'sql/item_strfunc.cc')
-rw-r--r-- | sql/item_strfunc.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/sql/item_strfunc.cc b/sql/item_strfunc.cc index 5a23eec5a1b..893126b7fe6 100644 --- a/sql/item_strfunc.cc +++ b/sql/item_strfunc.cc @@ -2320,17 +2320,6 @@ String *Item_func_hex::val_str(String *str) return &tmp_value; } -inline int hexchar_to_int(char c) -{ - if (c <= '9' && c >= '0') - return c-'0'; - c|=32; - if (c <= 'f' && c >= 'a') - return c-'a'+10; - return -1; -} - - /* Convert given hex string to a binary string */ String *Item_func_unhex::val_str(String *str) |