summaryrefslogtreecommitdiff
path: root/sql/init.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/init.cc')
-rw-r--r--sql/init.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/init.cc b/sql/init.cc
index eea10e51bd8..ac0ff701649 100644
--- a/sql/init.cc
+++ b/sql/init.cc
@@ -60,7 +60,7 @@ void unireg_init(ulong options)
uchar max_char;
if (!cs->sort_order)
continue;
- cs->sort_order[(uchar) cs->max_sort_char];
+ max_char=cs->sort_order[(uchar) cs->max_sort_char];
for (i = 0; i < 256; i++)
{
if ((uchar) cs->sort_order[i] > max_char)