Commit d080df77 authored by unknown's avatar unknown
Browse files

Bug #26741 ndb_restore with only print_data seg faults

- only creat systable if conencted to ndb

parent 23c33249
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -667,6 +667,8 @@ BackupRestore::update_apply_status(const RestoreMetaData &metaData)

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 &&