List:Commits« Previous MessageNext Message »
From:kroki Date:August 29 2006 1:00pm
Subject:bk commit into 4.1 tree (kroki:1.2548)
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of tomash. When tomash 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-29 17:00:46+04:00, kroki@stripped +1 -0
  Merge bk-internal.mysql.com:/home/bk/mysql-4.1-runtime
  into  moonlight.intranet:/home/tomash/src/mysql_ab/mysql-4.1-bug21096
  MERGE: 1.2527.12.1

  sql/sql_table.cc@stripped, 2006-08-29 17:00:44+04:00, kroki@stripped +0 -0
    Auto merged
    MERGE: 1.307.1.1

# 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:	kroki
# Host:	moonlight.intranet
# Root:	/home/tomash/src/mysql_ab/mysql-4.1-bug21096/RESYNC

--- 1.308/sql/sql_table.cc	2006-08-29 17:00:50 +04:00
+++ 1.309/sql/sql_table.cc	2006-08-29 17:00:50 +04:00
@@ -214,7 +214,7 @@ int mysql_rm_table_part2(THD *thd, TABLE
   bool some_tables_deleted=0, tmp_table_deleted=0, foreign_key_error=0;
   DBUG_ENTER("mysql_rm_table_part2");
 
-  if (lock_table_names(thd, tables))
+  if (!drop_temporary && lock_table_names(thd, tables))
     DBUG_RETURN(1);
 
   for (table=tables ; table ; table=table->next)
@@ -311,7 +311,8 @@ int mysql_rm_table_part2(THD *thd, TABLE
     }
   }
 
-  unlock_table_names(thd, tables);
+  if (!drop_temporary)
+    unlock_table_names(thd, tables);
   DBUG_RETURN(error);
 }
 
Thread
bk commit into 4.1 tree (kroki:1.2548)kroki29 Aug