mirror of
https://github.com/MariaDB/server.git
synced 2026-04-25 09:45:31 +02:00
Bug#45645 Mysql server close all connection and restart using lower function
Problem: the "caseinfo" member of CHARSET_INFO structure was not initialized for user-defined Unicode collations, which made the server crash. Fix: initializing caseinfo properly.
This commit is contained in:
parent
ce9f6dda2c
commit
2490873f3c
3 changed files with 18 additions and 0 deletions
|
|
@ -7858,6 +7858,8 @@ static my_bool create_tailoring(CHARSET_INFO *cs, void *(*alloc)(size_t))
|
|||
return 1;
|
||||
}
|
||||
|
||||
cs->caseinfo= my_unicase_default;
|
||||
|
||||
if (!(newweights= (uint16**) (*alloc)(256*sizeof(uint16*))))
|
||||
return 1;
|
||||
bzero(newweights, 256*sizeof(uint16*));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue