Below is the list of changes that have just been committed into a local
5.0 repository of sergeyv. When sergeyv does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet
1.2038 05/12/01 23:43:37 SergeyV@selena. +1 -0
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.
mysys/my_init.c
1.43 05/12/01 23:43:17 SergeyV@selena. +1 -0
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 is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: SergeyV
# Host: selena.
# Root: H:/MYSQL/src/#11892-mysql-5.0
--- 1.42/mysys/my_init.c 2005-09-28 13:28:36 +04:00
+++ 1.43/mysys/my_init.c 2005-12-01 23:43:17 +03:00
@@ -152,6 +152,7 @@
DBUG_PRINT("error",("%s",errbuff[0]));
}
}
+ free_charsets();
my_once_free();
if ((infoflag & MY_GIVE_INFO) || print_info)
| Thread |
|---|
| • bk commit into 5.0 tree (SergeyV:1.2038) BUG#11892 | sergeyv | 1 Dec |