summaryrefslogtreecommitdiff
path: root/sql/item_buff.cc
diff options
context:
space:
mode:
authorbar@bar.mysql.r18.ru <>2003-08-05 12:52:37 +0500
committerbar@bar.mysql.r18.ru <>2003-08-05 12:52:37 +0500
commita60acfcfe09945c9dd7d326ab99d1df5715cba46 (patch)
tree32d0b515ccfba2f4c3d89d2551aefc3602e1d452 /sql/item_buff.cc
parent708ddc3a3bd10dead1c3e9cd42680fdbf7fa1a5b (diff)
downloadmariadb-git-a60acfcfe09945c9dd7d326ab99d1df5715cba46.tar.gz
Old style charset() and set_charset() were removed.
Diffstat (limited to 'sql/item_buff.cc')
-rw-r--r--sql/item_buff.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_buff.cc b/sql/item_buff.cc
index c4431294dff..1559cfe958e 100644
--- a/sql/item_buff.cc
+++ b/sql/item_buff.cc
@@ -57,7 +57,7 @@ bool Item_str_buff::cmp(void)
else if (null_value)
return 0; // new and old value was null
else
- tmp= sortcmp(&value,res,item->charset()) != 0;
+ tmp= sortcmp(&value,res,item->collation.collation) != 0;
if (tmp)
value.copy(*res); // Remember for next cmp
return tmp;