item_cmpfunc.cc:
Turbo() is not used anymore for multibyte charsets.
This commit is contained in:
parent
5610c4dea6
commit
292f7954bd
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user