ndb - bug#21756

  Fix for alter table when node is down...that could cause pain and misery
parent 96ff8b4c
...@@ -2313,7 +2313,8 @@ void Dbdict::checkSchemaStatus(Signal* signal) ...@@ -2313,7 +2313,8 @@ void Dbdict::checkSchemaStatus(Signal* signal)
tablePtr.p->tableType = (DictTabInfo::TableType)oldEntry->m_tableType; tablePtr.p->tableType = (DictTabInfo::TableType)oldEntry->m_tableType;
// On NR get index from master because index state is not on file // On NR get index from master because index state is not on file
const bool file = c_systemRestart || tablePtr.p->isTable(); const bool file = (* newEntry == * oldEntry) &&
(c_systemRestart || tablePtr.p->isTable());
restartCreateTab(signal, tableId, oldEntry, file); restartCreateTab(signal, tableId, oldEntry, file);
return; return;
......
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