diff --git a/storage/ndb/tools/restore/consumer_restore.cpp b/storage/ndb/tools/restore/consumer_restore.cpp index 7e3395c36f6aac8e5d3f85b499a91379e587304b..2ea79a2aa6cf0f972efcb86c1a89c93146c397f0 100644 --- a/storage/ndb/tools/restore/consumer_restore.cpp +++ b/storage/ndb/tools/restore/consumer_restore.cpp @@ -668,7 +668,11 @@ err: } bool -BackupRestore::table_equal(const TableS &tableS){ +BackupRestore::table_equal(const TableS &tableS) +{ + if (!m_restore) + return true; + const char *tablename = tableS.getTableName(); if(tableS.m_dictTable == NULL){