List:Commits« Previous MessageNext Message »
From:tomas Date:May 30 2007 12:32pm
Subject:bk commit into 5.0 tree (tomas:1.2508)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of tomas. When tomas 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-05-30 12:32:36+02:00, tomas@stripped +1 -0
  Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-telco-gca
  into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
  MERGE: 1.2377.51.12

  ndb/src/kernel/blocks/dbdict/Dbdict.cpp@stripped, 2007-05-30 12:32:32+02:00,
tomas@stripped +0 -0
    Auto merged
    MERGE: 1.71.1.4

# 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:	tomas
# Host:	whalegate.ndb.mysql.com
# Root:	/home/tomas/mysql-5.0-ndb/RESYNC

--- 1.83/ndb/src/kernel/blocks/dbdict/Dbdict.cpp	2007-05-15 12:07:07 +02:00
+++ 1.84/ndb/src/kernel/blocks/dbdict/Dbdict.cpp	2007-05-30 12:32:32 +02:00
@@ -404,6 +404,9 @@
   case FsConnectRecord::OPEN_READ_SCHEMA2:
     openSchemaFile(signal, 1, fsPtr.i, false, false);
     break;
+  case FsConnectRecord::OPEN_READ_TAB_FILE2:
+    openTableFile(signal, 1, fsPtr.i, c_readTableRecord.tableId, false);
+    break;
   default:
     jamLine((fsPtr.p->fsState & 0xFFF));
     ndbrequire(false);
@@ -783,8 +786,11 @@
 void Dbdict::readTableRef(Signal* signal,
                           FsConnectRecordPtr fsPtr)
 {
+  /**
+   * First close corrupt file
+   */
   fsPtr.p->fsState = FsConnectRecord::OPEN_READ_TAB_FILE2;
-  openTableFile(signal, 1, fsPtr.i, c_readTableRecord.tableId, false);
+  closeFile(signal, fsPtr.p->filePtr, fsPtr.i);
   return;
 }//Dbdict::readTableRef()
 
Thread
bk commit into 5.0 tree (tomas:1.2508)tomas30 May