List:Commits« Previous MessageNext Message »
From:tomas Date:March 1 2007 5:07am
Subject:bk commit into 5.1 tree (tomas:1.2418) BUG#26741
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 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
  1.2418 07/03/01 11:07:24 tomas@stripped +1 -0
  Bug #26741  	ndb_restore with only print_data seg faults
  - only creat systable if conencted to ndb

  storage/ndb/tools/restore/consumer_restore.cpp
    1.40 07/03/01 11:07:15 tomas@stripped +2 -0
    Bug #26741  	ndb_restore with only print_data seg faults
    - only creat systable if conencted to ndb

# 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:	poseidon.mysql.com
# Root:	/home/tomas/mysql-5.1-telco-gca

--- 1.39/storage/ndb/tools/restore/consumer_restore.cpp	2006-12-24 02:20:32 +07:00
+++ 1.40/storage/ndb/tools/restore/consumer_restore.cpp	2007-03-01 11:07:15 +07:00
@@ -667,6 +667,8 @@ err:
 
 bool
 BackupRestore::createSystable(const TableS & tables){
+  if (!m_restore && !m_restore_meta && !m_restore_epoch)
+    return true;
   const char *tablename = tables.getTableName();
 
   if( strcmp(tablename, NDB_REP_DB "/def/" NDB_APPLY_TABLE) != 0 &&
Thread
bk commit into 5.1 tree (tomas:1.2418) BUG#26741tomas1 Mar