Commit 14cbf731 authored by tomas@poseidon.mysql.com's avatar tomas@poseidon.mysql.com

Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb

into  poseidon.mysql.com:/home/tomas/mysql-5.1-new-ndb
parents e0ba5ee1 53e73204
...@@ -2098,8 +2098,11 @@ void Dbdih::gcpBlockedLab(Signal* signal) ...@@ -2098,8 +2098,11 @@ void Dbdih::gcpBlockedLab(Signal* signal)
/*-------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------*/
Uint32 startVersion = getNodeInfo(c_nodeStartMaster.startNode).m_version; Uint32 startVersion = getNodeInfo(c_nodeStartMaster.startNode).m_version;
if ((getMajor(startVersion) == 4 && startVersion >= NDBD_INCL_NODECONF_VERSION_4) || if ((getMajor(startVersion) == 4 &&
(getMajor(startVersion) == 5 && startVersion >= NDBD_INCL_NODECONF_VERSION_5)) startVersion >= NDBD_INCL_NODECONF_VERSION_4) ||
(getMajor(startVersion) == 5 &&
startVersion >= NDBD_INCL_NODECONF_VERSION_5) ||
(getMajor(startVersion) > 5))
{ {
c_INCL_NODEREQ_Counter.setWaitingFor(c_nodeStartMaster.startNode); c_INCL_NODEREQ_Counter.setWaitingFor(c_nodeStartMaster.startNode);
} }
...@@ -2342,8 +2345,11 @@ void Dbdih::execINCL_NODEREQ(Signal* signal) ...@@ -2342,8 +2345,11 @@ void Dbdih::execINCL_NODEREQ(Signal* signal)
CRASH_INSERTION(7171); CRASH_INSERTION(7171);
Uint32 masterVersion = getNodeInfo(refToNode(cmasterdihref)).m_version; Uint32 masterVersion = getNodeInfo(refToNode(cmasterdihref)).m_version;
if ((NDB_VERSION_MAJOR == 4 && masterVersion >= NDBD_INCL_NODECONF_VERSION_4) || if ((NDB_VERSION_MAJOR == 4 &&
(NDB_VERSION_MAJOR == 5 && masterVersion >= NDBD_INCL_NODECONF_VERSION_5)) masterVersion >= NDBD_INCL_NODECONF_VERSION_4) ||
(NDB_VERSION_MAJOR == 5 &&
masterVersion >= NDBD_INCL_NODECONF_VERSION_5) ||
(NDB_VERSION_MAJOR > 5))
{ {
signal->theData[0] = getOwnNodeId(); signal->theData[0] = getOwnNodeId();
signal->theData[1] = getOwnNodeId(); signal->theData[1] = getOwnNodeId();
...@@ -14233,7 +14239,7 @@ Dbdih::execDUMP_STATE_ORD(Signal* signal) ...@@ -14233,7 +14239,7 @@ Dbdih::execDUMP_STATE_ORD(Signal* signal)
} }
if(arg == DumpStateOrd::EnableUndoDelayDataWrite){ if(arg == DumpStateOrd::EnableUndoDelayDataWrite){
g_eventLogger.info("Dbdih:: delay write of datapages for table = %s", g_eventLogger.info("Dbdih:: delay write of datapages for table = %d",
dumpState->args[1]); dumpState->args[1]);
// Send this dump to ACC and TUP // Send this dump to ACC and TUP
EXECUTE_DIRECT(DBACC, GSN_DUMP_STATE_ORD, signal, 2); EXECUTE_DIRECT(DBACC, GSN_DUMP_STATE_ORD, signal, 2);
......
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