summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <bar@mysql.com>2005-10-05 17:45:23 +0500
committerunknown <bar@mysql.com>2005-10-05 17:45:23 +0500
commit99ca39dee4d484cf7c9877dc8ff381a4d00efb18 (patch)
tree34760322b5acf518a42935971b1820d45cf83b56
parent4a231e408cdbec3de2bb6cf8044cc435addc0fc8 (diff)
downloadmariadb-git-99ca39dee4d484cf7c9877dc8ff381a4d00efb18.tar.gz
item_cmpfunc.cc:
sorry, another wrong variable sql/item_cmpfunc.cc: sorry, another wrong variable
-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))