Commit 0bf9c56b authored by unknown's avatar unknown

Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb

into mysql.com:/home/jonas/src/mysql-4.1-ndb


ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
  Auto merged
ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
  Auto merged
ndb/src/kernel/blocks/dbtup/DbtupDebug.cpp:
  Auto merged
ndb/src/kernel/blocks/dbtup/DbtupSystemRestart.cpp:
  Auto merged
parents 8e55628d e4837b10
...@@ -696,6 +696,7 @@ Uint32 * ...@@ -696,6 +696,7 @@ Uint32 *
Backup::OperationRecord::newVariableKey(Uint32 sz){ Backup::OperationRecord::newVariableKey(Uint32 sz){
attrLeft--; attrLeft--;
attrSzLeft = 0; attrSzLeft = 0;
attrSzTotal += sz;
dst = &dst_VariableData->Data[0]; dst = &dst_VariableData->Data[0];
dst_VariableData->Sz = htonl(sz); dst_VariableData->Sz = htonl(sz);
...@@ -712,7 +713,7 @@ Backup::OperationRecord::finished(){ ...@@ -712,7 +713,7 @@ Backup::OperationRecord::finished(){
return false; return false;
} }
attrLen[opNoDone] = attrSzTotal; attrLen[opNoDone] = attrSzTotal + sz_FixedKeys;
opNoDone++; opNoDone++;
scanStop = dst = (Uint32 *)dst_VariableData; scanStop = dst = (Uint32 *)dst_VariableData;
......
...@@ -8585,7 +8585,8 @@ void Dblqh::sendKeyinfo20(Signal* signal, ...@@ -8585,7 +8585,8 @@ void Dblqh::sendKeyinfo20(Signal* signal,
return; return;
} }
EXECUTE_DIRECT(refToBlock(ref), GSN_KEYINFO20, signal, 3 + keyLen); EXECUTE_DIRECT(refToBlock(ref), GSN_KEYINFO20, signal,
KeyInfo20::HeaderLength + keyLen);
jamEntry(); jamEntry();
return; return;
} }
......
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