bug#10987 - rpl_ndb_bank -

  Allow GET_TABINFO during BACKUP
  (otherwise LCP gets corrupt)
parent 0f9efc30
...@@ -7186,7 +7186,8 @@ void Dbdict::execGET_TABINFOREQ(Signal* signal) ...@@ -7186,7 +7186,8 @@ void Dbdict::execGET_TABINFOREQ(Signal* signal)
jam(); jam();
TableRecordPtr tabPtr; TableRecordPtr tabPtr;
c_tableRecordPool.getPtr(tabPtr, obj_id); c_tableRecordPool.getPtr(tabPtr, obj_id);
if (tabPtr.p->tabState != TableRecord::DEFINED) if (tabPtr.p->tabState != TableRecord::DEFINED &&
tabPtr.p->tabState != TableRecord::BACKUP_ONGOING)
{ {
jam(); jam();
sendGET_TABINFOREF(signal, req, GetTabInfoRef::TableNotDefined, __LINE__); sendGET_TABINFOREF(signal, req, GetTabInfoRef::TableNotDefined, __LINE__);
......
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