summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.cc
diff options
context:
space:
mode:
authorunknown <bar@mysql.com>2005-10-05 17:33:39 +0500
committerunknown <bar@mysql.com>2005-10-05 17:33:39 +0500
commit068a15bb287d7fea7bcfc6bcb4e4ade9b15e8c3f (patch)
treed4be7bdf3f9450afa598364de421d39100092062 /sql/item_cmpfunc.cc
parent709f8556bfbc33243086545bb001a18066addb50 (diff)
downloadmariadb-git-068a15bb287d7fea7bcfc6bcb4e4ade9b15e8c3f.tar.gz
item_cmpfunc.cc:
wrong variable. sql/item_cmpfunc.cc: wrong variable.
Diffstat (limited to 'sql/item_cmpfunc.cc')
-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 009e31c8665..7f50e5d0163 100644
--- a/sql/item_cmpfunc.cc
+++ b/sql/item_cmpfunc.cc
@@ -2443,7 +2443,7 @@ bool Item_func_like::fix_fields(THD *thd, TABLE_LIST *tlist, Item ** ref)
String *escape_str= escape_item->val_str(&tmp_value1);
if (escape_str)
{
- if (use_mb(cmp_collation.collation))
+ if (use_mb(cmp.cmp_collation.collation))
{
CHARSET_INFO *cs= escape_str->charset();
my_wc_t wc;