summaryrefslogtreecommitdiff
path: root/sql/opt_range.cc
diff options
context:
space:
mode:
authorunknown <bar@bar.mysql.r18.ru>2003-08-05 12:52:37 +0500
committerunknown <bar@bar.mysql.r18.ru>2003-08-05 12:52:37 +0500
commite8da290b099fe2cfcdcb16d5e7805c616a8b526e (patch)
tree32d0b515ccfba2f4c3d89d2551aefc3602e1d452 /sql/opt_range.cc
parent970f910d757f5a5a8ce0ff31a8d7321da71995e8 (diff)
downloadmariadb-git-e8da290b099fe2cfcdcb16d5e7805c616a8b526e.tar.gz
Old style charset() and set_charset() were removed.
Diffstat (limited to 'sql/opt_range.cc')
-rw-r--r--sql/opt_range.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc
index 18c465ffde3..935abac5146 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -930,7 +930,7 @@ get_mm_leaf(PARAM *param, Field *field, KEY_PART *key_part,
{
bool like_error;
char buff1[MAX_FIELD_WIDTH],*min_str,*max_str;
- String tmp(buff1,sizeof(buff1),value->charset()),*res;
+ String tmp(buff1,sizeof(buff1),value->collation.collation),*res;
uint length,offset,min_length,max_length;
if (!field->optimize_range(param->real_keynr[key_part->key]))