diff options
author | unknown <bar@bar.udmsearch.izhnet.ru> | 2002-07-31 13:25:37 +0500 |
---|---|---|
committer | unknown <bar@bar.udmsearch.izhnet.ru> | 2002-07-31 13:25:37 +0500 |
commit | 5d61c21aa9716544df6fce044ec27d8ce771c9d9 (patch) | |
tree | 6dd16cd69429579fdb86276d41f00220bdae6c87 /sql/init.cc | |
parent | 36e7a9d704ace8f6af6683e9fe521a8f3aea8102 (diff) | |
download | mariadb-git-5d61c21aa9716544df6fce044ec27d8ce771c9d9.tar.gz |
Some more speedup in charsets handling
sql/init.cc:
This code is moved to more proper place in mysys/charset.c
Diffstat (limited to 'sql/init.cc')
-rw-r--r-- | sql/init.cc | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/sql/init.cc b/sql/init.cc index ac0ff701649..052ee16925e 100644 --- a/sql/init.cc +++ b/sql/init.cc @@ -53,23 +53,6 @@ void unireg_init(ulong options) } specialflag|=options; /* Set options from argv */ - // The following is needed because of like optimization in select.cc - - for (cs=compiled_charsets; cs->number; cs++) - { - uchar max_char; - if (!cs->sort_order) - continue; - max_char=cs->sort_order[(uchar) cs->max_sort_char]; - for (i = 0; i < 256; i++) - { - if ((uchar) cs->sort_order[i] > max_char) - { - max_char=(uchar) cs->sort_order[i]; - cs->max_sort_char= (char) i; - } - } - } thread_stack_min=thread_stack - STACK_MIN_SIZE; DBUG_VOID_RETURN; } |