Bug #26741 ndb_restore with only print_data seg faults

- only creat systable if conencted to ndb
This commit is contained in:
unknown 2007-03-01 11:07:24 +07:00
parent 23c33249b7
commit d080df7765

View file

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