List:Commits« Previous MessageNext Message »
From:cbell Date:April 16 2007 5:23pm
Subject:bk commit into 5.1 tree (cbell:1.2520)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of cbell. When cbell 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, 2007-04-16 13:22:50-04:00, cbell@mysql_cab_desk. +1 -0
  WL#3327 : Online Backup Plan - Phase 2
              
  This patch replaces the unlock in get_table_metadata with a call to
  close all of the tables.

  sql/backup/meta_backup.cc@stripped, 2007-04-16 13:22:48-04:00, cbell@mysql_cab_desk. +1 -5
    WL#3327 : Online Backup Plan - Phase 2
                
    This patch replaces the unlock in get_table_metadata with a call to
    close all of the tables.

# 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:	cbell
# Host:	mysql_cab_desk.
# Root:	C:/source/c++/mysql-5.1-backup-phase2

--- 1.14/sql/backup/meta_backup.cc	2007-04-16 13:23:03 -04:00
+++ 1.15/sql/backup/meta_backup.cc	2007-04-16 13:23:03 -04:00
@@ -508,11 +508,7 @@
     Remove read lock on the tables
   */
   DBUG_PRINT("metadata_backup", ("closing the tables"));
-  if (thd->lock)
-  {
-    mysql_unlock_tables(thd, thd->lock);
-    thd->lock=0;
-  }
+  close_thread_tables(thd);
   DBUG_RETURN(0);
 }
 

Thread
bk commit into 5.1 tree (cbell:1.2520)cbell16 Apr