mirror of
https://github.com/MariaDB/server.git
synced 2025-05-28 13:01:41 +03:00
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.
|
||||
Convert to "cs" if charset of escape differs.
|
||||
*/
|
||||
CHARSET_INFO *cs= cmp_collation.collation;
|
||||
CHARSET_INFO *cs= cmp.cmp_collation.collation;
|
||||
uint32 unused;
|
||||
if (escape_str->needs_conversion(escape_str->length(),
|
||||
escape_str->charset(), cs, &unused))
|
||||
|
Loading…
x
Reference in New Issue
Block a user