Commit a842253e authored by unknown's avatar unknown

BUG#24363 If the table structure has been changed, the default action about the restore will fail.

 - correction of patch, original patch will segfault for print option

parent 52773743
...@@ -668,7 +668,11 @@ BackupRestore::update_apply_status(const RestoreMetaData &metaData) ...@@ -668,7 +668,11 @@ BackupRestore::update_apply_status(const RestoreMetaData &metaData)
} }
bool bool
BackupRestore::table_equal(const TableS &tableS){ BackupRestore::table_equal(const TableS &tableS)
{
if (!m_restore)
return true;
const char *tablename = tableS.getTableName(); const char *tablename = tableS.getTableName();
if(tableS.m_dictTable == NULL){ if(tableS.m_dictTable == NULL){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment