diff options
author | unknown <bar@bar.mysql.r18.ru> | 2003-04-22 12:01:28 +0500 |
---|---|---|
committer | unknown <bar@bar.mysql.r18.ru> | 2003-04-22 12:01:28 +0500 |
commit | 13646bb8c115f603b17903515a9a177c92c2c2de (patch) | |
tree | ad0255ae580e8cb426cda08c26857a1e51cf1874 /sql | |
parent | 1db8654191c18def869c03d246e75be704411d03 (diff) | |
download | mariadb-git-13646bb8c115f603b17903515a9a177c92c2c2de.tar.gz |
item_cmpfunc.cc:
Turbo() is not used anymore for multibyte charsets.
sql/item_cmpfunc.cc:
Turbo() is not used anymore for multibyte charsets.
Diffstat (limited to 'sql')
-rw-r--r-- | sql/item_cmpfunc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_cmpfunc.cc b/sql/item_cmpfunc.cc index 09f0aeefb09..ac2d0b4f847 100644 --- a/sql/item_cmpfunc.cc +++ b/sql/item_cmpfunc.cc @@ -1870,7 +1870,7 @@ bool Item_func_like::fix_fields(THD *thd, TABLE_LIST *tlist, Item ** ref) { const char* tmp = first + 1; for (; *tmp != wild_many && *tmp != wild_one && *tmp != escape; tmp++) ; - canDoTurboBM = tmp == last; + canDoTurboBM = (tmp == last) && !use_mb(args[0]->charset()); } if (canDoTurboBM) |