summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <bar@mysql.com>2005-10-06 15:26:59 +0500
committerunknown <bar@mysql.com>2005-10-06 15:26:59 +0500
commite6ec5794f64617dda0cfdeb4bae422cff6d81950 (patch)
treefc35072348e4307a95e639c66a69e42495639e44 /sql
parent6efe60124c999b0346c593f72bf844a37728d22e (diff)
downloadmariadb-git-e6ec5794f64617dda0cfdeb4bae422cff6d81950.tar.gz
item_cmpfunc.cc:
Wrong variable. sql/item_cmpfunc.cc: Wrong variable.
Diffstat (limited to 'sql')
-rw-r--r--sql/item_cmpfunc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_cmpfunc.cc b/sql/item_cmpfunc.cc
index 7f50e5d0163..2c76c7ec7b3 100644
--- a/sql/item_cmpfunc.cc
+++ b/sql/item_cmpfunc.cc
@@ -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))