Commit 13646bb8 authored by unknown's avatar unknown

item_cmpfunc.cc:

  Turbo() is not used anymore for multibyte charsets.


sql/item_cmpfunc.cc:
  Turbo() is not used anymore for multibyte charsets.
parent 1db86541
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment