List:Commits« Previous MessageNext Message »
From:msvensson Date:April 7 2006 9:46am
Subject:bk commit into 5.0 tree (msvensson:1.2141)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of msvensson. When msvensson 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.2141 06/04/07 11:46:22 msvensson@neptunus.(none) +1 -0
  Merge neptunus.(none):/home/msvensson/mysql/bug13228/my50-bug13228_minimal
  into  neptunus.(none):/home/msvensson/mysql/mysql-5.0

  sql/ha_ndbcluster.cc
    1.241 06/04/07 11:46:03 msvensson@neptunus.(none) +0 -0
    Auto merged

# 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:	msvensson
# Host:	neptunus.(none)
# Root:	/home/msvensson/mysql/mysql-5.0/RESYNC

--- 1.240/sql/ha_ndbcluster.cc	2006-03-28 15:40:04 +02:00
+++ 1.241/sql/ha_ndbcluster.cc	2006-04-07 11:46:03 +02:00
@@ -509,6 +509,13 @@
   case NdbError::SchemaError:
     invalidate_dictionary_cache(TRUE);
 
+    /* Close other open handlers not used by any thread */
+    TABLE_LIST table_list;
+    bzero((char*) &table_list,sizeof(table_list));
+    table_list.db= m_dbname;
+    table_list.alias= table_list.table_name= m_tabname;
+    close_cached_tables(current_thd, 0, &table_list);
+
     if (err.code==284)
     {
       /*
Thread
bk commit into 5.0 tree (msvensson:1.2141)msvensson7 Apr