diff options
author | bar@bar.intranet.mysql.r18.ru <> | 2004-05-25 17:40:20 +0500 |
---|---|---|
committer | bar@bar.intranet.mysql.r18.ru <> | 2004-05-25 17:40:20 +0500 |
commit | 391d5629f6cf12ac4dd61e3d8f6cc435ae7b12db (patch) | |
tree | a9a4fa11270cbdaa126493450d0bb6e8552335ed /mysys/charset.c | |
parent | d0c761e66b3a621d7f3b86b24c539d98cbc452b6 (diff) | |
download | mariadb-git-391d5629f6cf12ac4dd61e3d8f6cc435ae7b12db.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/charset.c')
-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); } } |