diff options
author | Alexander Barkov <bar@mysql.com> | 2009-10-20 12:47:00 +0500 |
---|---|---|
committer | Alexander Barkov <bar@mysql.com> | 2009-10-20 12:47:00 +0500 |
commit | c12dad02d6014a497fec4a61f3c1df39fa9ca7f2 (patch) | |
tree | 6f004629aef3ed49f34e5f864cfc6a3755a07ee2 /strings | |
parent | e942adb23dfca74fa8db76dbe40d72f0ceff4818 (diff) | |
download | mariadb-git-c12dad02d6014a497fec4a61f3c1df39fa9ca7f2.tar.gz |
A post fix for BUG#45645 Mysql server close all connection and restart using lower function
- Initialized caseinfo only if it is NULL
Diffstat (limited to 'strings')
-rw-r--r-- | strings/ctype-uca.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/strings/ctype-uca.c b/strings/ctype-uca.c index 9fb18c0c472..6ae0cc3a293 100644 --- a/strings/ctype-uca.c +++ b/strings/ctype-uca.c @@ -7858,7 +7858,8 @@ static my_bool create_tailoring(CHARSET_INFO *cs, void *(*alloc)(size_t)) return 1; } - cs->caseinfo= my_unicase_default; + if (!cs->caseinfo) + cs->caseinfo= my_unicase_default; if (!(newweights= (uint16**) (*alloc)(256*sizeof(uint16*)))) return 1; |