summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.cc
diff options
context:
space:
mode:
authorunknown <bar@bar.mysql.r18.ru>2003-05-23 17:45:52 +0500
committerunknown <bar@bar.mysql.r18.ru>2003-05-23 17:45:52 +0500
commit5aae66c1017aaef0efc0080c095436f954288bd6 (patch)
tree40660f305f13b43f69d092c4719cebfaaf120a40 /sql/item_cmpfunc.cc
parentf461dea4d7066c6dfe14b33cc549f7e0183f6b8e (diff)
downloadmariadb-git-5aae66c1017aaef0efc0080c095436f954288bd6.tar.gz
CHARSET_INFO structure reorganization for easier maintainance
Diffstat (limited to 'sql/item_cmpfunc.cc')
-rw-r--r--sql/item_cmpfunc.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item_cmpfunc.cc b/sql/item_cmpfunc.cc
index 7392ef6c276..4f55357f288 100644
--- a/sql/item_cmpfunc.cc
+++ b/sql/item_cmpfunc.cc
@@ -1491,7 +1491,7 @@ bool Item_func_in::nulls_in_row()
static int srtcmp_in(const String *x,const String *y)
{
CHARSET_INFO *cs= x->charset();
- return cs->strnncollsp(cs,
+ return cs->coll->strnncollsp(cs,
(unsigned char *) x->ptr(),x->length(),
(unsigned char *) y->ptr(),y->length());
}
@@ -1499,7 +1499,7 @@ static int srtcmp_in(const String *x,const String *y)
static int bincmp_in(const String *x,const String *y)
{
CHARSET_INFO *cs= &my_charset_bin;
- return cs->strnncollsp(cs,
+ return cs->coll->strnncollsp(cs,
(unsigned char *) x->ptr(),x->length(),
(unsigned char *) y->ptr(),y->length());
}