item_cmpfunc.cc:
Wrong variable. sql/item_cmpfunc.cc: Wrong variable.
This commit is contained in:
parent
6efe60124c
commit
e6ec5794f6
@ -2460,7 +2460,7 @@ bool Item_func_like::fix_fields(THD *thd, TABLE_LIST *tlist, Item ** ref)
|
|||||||
code instead of Unicode code as "escape" argument.
|
code instead of Unicode code as "escape" argument.
|
||||||
Convert to "cs" if charset of escape differs.
|
Convert to "cs" if charset of escape differs.
|
||||||
*/
|
*/
|
||||||
CHARSET_INFO *cs= cmp_collation.collation;
|
CHARSET_INFO *cs= cmp.cmp_collation.collation;
|
||||||
uint32 unused;
|
uint32 unused;
|
||||||
if (escape_str->needs_conversion(escape_str->length(),
|
if (escape_str->needs_conversion(escape_str->length(),
|
||||||
escape_str->charset(), cs, &unused))
|
escape_str->charset(), cs, &unused))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user