diff options
author | unknown <bar@bar.intranet.mysql.r18.ru> | 2004-05-25 17:40:20 +0500 |
---|---|---|
committer | unknown <bar@bar.intranet.mysql.r18.ru> | 2004-05-25 17:40:20 +0500 |
commit | 8ee5b216a15dcd5fb81d8e7d231185c6fd1ac65c (patch) | |
tree | a9a4fa11270cbdaa126493450d0bb6e8552335ed /mysys | |
parent | 6c09db274773a36350b8a3f794a847684bd0ca30 (diff) | |
download | mariadb-git-8ee5b216a15dcd5fb81d8e7d231185c6fd1ac65c.tar.gz |
Preparation for user-defined Unicode collations:
weights data now comes from a static variables
but from the charset structure.
Diffstat (limited to 'mysys')
-rw-r--r-- | mysys/charset.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mysys/charset.c b/mysys/charset.c index c80b00db397..d801fcdbd76 100644 --- a/mysys/charset.c +++ b/mysys/charset.c @@ -466,7 +466,8 @@ static my_bool init_available_charsets(myf myflags) if (*cs) { set_max_sort_char(*cs); - init_state_maps(*cs); + if (cs[0]->ctype) + init_state_maps(*cs); } } |