mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
Fixes bug #11892. When MyODBC or any other client do my_init()/my_end()
several times, it was causing corruption of charset data stored in once_mem_pool. my_end() deallocated once_mem pool, but did not put a flag that charsets have to be reloaded. The fix addresses this problem.
This commit is contained in:
parent
9dcae0472c
commit
2722db0f02
1 changed files with 1 additions and 0 deletions
|
@ -152,6 +152,7 @@ void my_end(int infoflag)
|
|||
DBUG_PRINT("error",("%s",errbuff[0]));
|
||||
}
|
||||
}
|
||||
free_charsets();
|
||||
my_once_free();
|
||||
|
||||
if ((infoflag & MY_GIVE_INFO) || print_info)
|
||||
|
|
Loading…
Add table
Reference in a new issue