List:Commits« Previous MessageNext Message »
From:Andrei Elkin Date:August 21 2006 11:44am
Subject:bk commit into 5.0 tree (aelkin:1.2235) BUG#21582
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of aelkin. When aelkin 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@stripped, 2006-08-21 11:44:30+02:00, aelkin@stripped +1 -0
  BUG#21582 mysql server crashes in close_temporary_tables
  
  the problem is described and resolved by 20919 which fix happened not to have got to
  the release tree. Applying the patch of the parent bug.

  sql/sql_base.cc@stripped, 2006-08-21 11:40:13+02:00, aelkin@stripped +3 -1
    BUG#21582 mysql server crashes in close_temporary_tables
    appeared to be a dup of 20919. Applying the patch of the latter to fix this but
    in specific mysql-5.0-release tree.

# 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:	aelkin
# Host:	dl145j.mysql.com
# Root:	/tmp/andrei/mysql-5.0-release-21582

--- 1.343/sql/sql_base.cc	2006-08-21 11:44:40 +02:00
+++ 1.344/sql/sql_base.cc	2006-08-21 11:44:40 +02:00
@@ -624,8 +624,10 @@
 
   if (!mysql_bin_log.is_open())
   {
-    for (table= thd->temporary_tables; table; table= table->next)
+    TABLE *next;
+    for (table= thd->temporary_tables; table; table= next)
     {
+      next= table->next;
       close_temporary(table, 1);
     }
     thd->temporary_tables= 0;
Thread
bk commit into 5.0 tree (aelkin:1.2235) BUG#21582Andrei Elkin21 Aug