From 8e61278077794dfba8ea4b36d4cf3f481687deec Mon Sep 17 00:00:00 2001 From: "jonas@perch.ndb.mysql.com" <> Date: Mon, 30 Jan 2006 21:07:01 +0100 Subject: [PATCH] bug#10987 - rpl_ndb_bank - Allow GET_TABINFO during BACKUP (otherwise LCP gets corrupt) --- storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp b/storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp index e5b29785ea6..71e6dfbfd7b 100644 --- a/storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp +++ b/storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp @@ -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__);