summaryrefslogtreecommitdiff
path: root/ndb/src/ndbapi/NdbDictionaryImpl.cpp
diff options
context:
space:
mode:
authorunknown <joreland@mysql.com>2005-02-25 09:10:35 +0100
committerunknown <joreland@mysql.com>2005-02-25 09:10:35 +0100
commitb89feadf56d074161acdacacd01a1f95f6d60e8d (patch)
treee798dcc4d7232cdce4df9dd638d1ad2ab63a3abe /ndb/src/ndbapi/NdbDictionaryImpl.cpp
parent6b38100d6146cae344aaf90d77c0f4475ea30bb8 (diff)
downloadmariadb-git-b89feadf56d074161acdacacd01a1f95f6d60e8d.tar.gz
BUG#8786 - ndb_autodiscover, post review
More explicit naming of variables ndb/include/kernel/signaldata/AlterIndx.hpp: Add union to indicate where master node is passed in ref ndb/include/kernel/signaldata/BuildIndx.hpp: Add union to indicate where master node is passed in ref ndb/include/kernel/signaldata/CreateIndx.hpp: Add union to indicate where master node is passed in ref ndb/include/kernel/signaldata/CreateTrig.hpp: Add union to indicate where master node is passed in ref ndb/include/kernel/signaldata/DropIndx.hpp: Add union to indicate where master node is passed in ref ndb/src/kernel/blocks/dbdict/Dbdict.cpp: Set error/master node also on BuildIndxRef ndb/src/ndbapi/NdbDictionaryImpl.cpp: Use masterNodeId instead of errornode
Diffstat (limited to 'ndb/src/ndbapi/NdbDictionaryImpl.cpp')
-rw-r--r--ndb/src/ndbapi/NdbDictionaryImpl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ndb/src/ndbapi/NdbDictionaryImpl.cpp b/ndb/src/ndbapi/NdbDictionaryImpl.cpp
index 3d92f0e010f..222db6060c7 100644
--- a/ndb/src/ndbapi/NdbDictionaryImpl.cpp
+++ b/ndb/src/ndbapi/NdbDictionaryImpl.cpp
@@ -2123,7 +2123,7 @@ NdbDictInterface::execCREATE_INDX_REF(NdbApiSignal * signal,
const CreateIndxRef* const ref = CAST_CONSTPTR(CreateIndxRef, signal->getDataPtr());
m_error.code = ref->getErrorCode();
if(m_error.code == ref->NotMaster)
- m_masterNodeId= ref->m_errorNode;
+ m_masterNodeId= ref->masterNodeId;
m_waiter.signal(NO_WAIT);
}
@@ -2249,7 +2249,7 @@ NdbDictInterface::execDROP_INDX_REF(NdbApiSignal * signal,
const DropIndxRef* const ref = CAST_CONSTPTR(DropIndxRef, signal->getDataPtr());
m_error.code = ref->getErrorCode();
if(m_error.code == ref->NotMaster)
- m_masterNodeId= ref->m_errorNode;
+ m_masterNodeId= ref->masterNodeId;
m_waiter.signal(NO_WAIT);
}