bug#10987 - rpl_ndb_bank -

Allow GET_TABINFO during BACKUP
  (otherwise LCP gets corrupt)
This commit is contained in:
jonas@perch.ndb.mysql.com 2006-01-30 21:07:01 +01:00
parent 0f9efc3063
commit 8e61278077

View file

@ -7186,7 +7186,8 @@ void Dbdict::execGET_TABINFOREQ(Signal* signal)
jam();
TableRecordPtr tabPtr;
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();
sendGET_TABINFOREF(signal, req, GetTabInfoRef::TableNotDefined, __LINE__);