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 36e3a94b
...@@ -668,7 +668,11 @@ err: ...@@ -668,7 +668,11 @@ err:
} }
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