1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

A post fix for BUG#45645 Mysql server close all connection and restart using lower function

- Initialized caseinfo only if it is NULL
This commit is contained in:
Alexander Barkov
2009-10-20 12:47:00 +05:00
parent e131edc9d4
commit 34bbae5725

View File

@@ -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;