#At file:///home/jonas/src/telco-6.3/
2794 Jonas Oreland 2008-12-12
ndb - bug#41435 - upgrade 6.2 to 6.3
modified:
storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp
=== modified file 'storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp'
--- a/storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp 2008-12-08 13:39:11 +0000
+++ b/storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp 2008-12-12 14:05:37 +0000
@@ -16475,10 +16475,16 @@ Dbdih::sendDictUnlockOrd(Signal* signal,
return;
}
}
-
+
+ Uint32 len = DictUnlockOrd::SignalLength;
+ if (unlikely(getNodeInfo(cmasterNodeId).m_version < NDB_MAKE_VERSION(6,3,0)))
+ {
+ jam();
+ len = 2;
+ }
+
BlockReference dictMasterRef = calcDictBlockRef(cmasterNodeId);
- sendSignal(dictMasterRef, GSN_DICT_UNLOCK_ORD, signal,
- DictUnlockOrd::SignalLength, JBB);
+ sendSignal(dictMasterRef, GSN_DICT_UNLOCK_ORD, signal, len, JBB);
}
#ifdef ERROR_INSERT
| Thread |
|---|
| • bzr commit into mysql-5.1 branch (jonas:2794) Bug#41435 | Jonas Oreland | 12 Dec |