Below is the list of changes that have just been committed into a local
4.1 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.2393 05/08/24 19:52:28 SergeyV@selena. +2 -0
Fixes bug #12517. Delays final release of thread memory context until
the very last stage of thread cleanup.
sql/sql_parse.cc
1.461 05/08/24 19:52:21 SergeyV@selena. +1 -1
Fixes bug #12517. Delays final release of thread memory context until
the very last stage of thread cleanup.
sql/sql_class.cc
1.201 05/08/24 19:52:20 SergeyV@selena. +1 -0
Fixes bug #12517. Delays final release of thread memory context until
the very last stage of thread cleanup.
# 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/mysql-4.1-dev
--- 1.200/sql/sql_class.cc 2005-06-07 17:29:27 +04:00
+++ 1.201/sql/sql_class.cc 2005-08-24 19:52:20 +04:00
@@ -368,6 +368,7 @@
pthread_mutex_unlock(&LOCK_user_locks);
ull= 0;
}
+ free_root(this->mem_root,MYF(0));
cleanup_done=1;
DBUG_VOID_RETURN;
}
--- 1.460/sql/sql_parse.cc 2005-08-15 19:36:16 +04:00
+++ 1.461/sql/sql_parse.cc 2005-08-24 19:52:21 +04:00
@@ -1047,7 +1047,7 @@
}
if (thd->user_connect)
decrease_user_connections(thd->user_connect);
- free_root(thd->mem_root,MYF(0));
+ free_root(thd->mem_root,MYF(MY_KEEP_PREALLOC));
if (net->error && net->vio != 0 && net->report_error)
{
if (!thd->killed && thd->variables.log_warnings > 1)
| Thread |
|---|
| • bk commit into 4.1 tree (SergeyV:1.2393) BUG#12517 | sergeyv | 24 Aug |