diff options
author | unknown <tomas@poseidon.mysql.com> | 2007-03-01 11:07:24 +0700 |
---|---|---|
committer | unknown <tomas@poseidon.mysql.com> | 2007-03-01 11:07:24 +0700 |
commit | d080df77651342e16c368fd8efb8963d4158eefe (patch) | |
tree | e518dae6dbdba2efb3123933b5a3a0659bce30e7 /storage/ndb | |
parent | 23c33249b753dc6b07f711cc0416227f4f4714ed (diff) | |
download | mariadb-git-d080df77651342e16c368fd8efb8963d4158eefe.tar.gz |
Bug #26741 ndb_restore with only print_data seg faults
- only creat systable if conencted to ndb
Diffstat (limited to 'storage/ndb')
-rw-r--r-- | storage/ndb/tools/restore/consumer_restore.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/ndb/tools/restore/consumer_restore.cpp b/storage/ndb/tools/restore/consumer_restore.cpp index e276eb7d6f9..5b194fb7033 100644 --- a/storage/ndb/tools/restore/consumer_restore.cpp +++ b/storage/ndb/tools/restore/consumer_restore.cpp @@ -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 && |