mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
Merge perch.ndb.mysql.com:/home/jonas/src/41-work
into perch.ndb.mysql.com:/home/jonas/src/50-work ndb/src/kernel/blocks/dblqh/DblqhMain.cpp: Auto merged
This commit is contained in:
commit
d06766b4d9
1 changed files with 11 additions and 3 deletions
|
@ -14829,7 +14829,9 @@ void Dblqh::execSr(Signal* signal)
|
|||
signal->theData[4] = logFilePtr.p->currentFilepage;
|
||||
signal->theData[5] = logFilePtr.p->currentMbyte;
|
||||
signal->theData[6] = logPagePtr.p->logPageWord[ZCURR_PAGE_INDEX];
|
||||
sendSignal(cownref, GSN_DEBUG_SIG, signal, 7, JBA);
|
||||
signal->theData[7] = ~0;
|
||||
signal->theData[8] = __LINE__;
|
||||
sendSignal(cownref, GSN_DEBUG_SIG, signal, 9, JBA);
|
||||
return;
|
||||
}//if
|
||||
}//if
|
||||
|
@ -14895,7 +14897,8 @@ void Dblqh::execSr(Signal* signal)
|
|||
signal->theData[5] = logFilePtr.p->currentFilepage;
|
||||
signal->theData[6] = logPagePtr.p->logPageWord[ZCURR_PAGE_INDEX];
|
||||
signal->theData[7] = logWord;
|
||||
sendSignal(cownref, GSN_DEBUG_SIG, signal, 8, JBA);
|
||||
signal->theData[8] = __LINE__;
|
||||
sendSignal(cownref, GSN_DEBUG_SIG, signal, 9, JBA);
|
||||
return;
|
||||
break;
|
||||
}//switch
|
||||
|
@ -14924,8 +14927,9 @@ void Dblqh::execDEBUG_SIG(Signal* signal)
|
|||
|
||||
char buf[100];
|
||||
BaseString::snprintf(buf, 100,
|
||||
"Error while reading REDO log.\n"
|
||||
"Error while reading REDO log. from %d\n"
|
||||
"D=%d, F=%d Mb=%d FP=%d W1=%d W2=%d",
|
||||
signal->theData[8],
|
||||
signal->theData[2], signal->theData[3], signal->theData[4],
|
||||
signal->theData[5], signal->theData[6], signal->theData[7]);
|
||||
|
||||
|
@ -15501,6 +15505,10 @@ void Dblqh::readSrFourthZeroLab(Signal* signal)
|
|||
// to read a page from file.
|
||||
lfoPtr.p->lfoState = LogFileOperationRecord::WRITE_SR_INVALIDATE_PAGES;
|
||||
|
||||
/**
|
||||
* Make sure we dont release zero page
|
||||
*/
|
||||
seizeLogpage(signal);
|
||||
invalidateLogAfterLastGCI(signal);
|
||||
return;
|
||||
}//Dblqh::readSrFourthZeroLab()
|
||||
|
|
Loading…
Reference in a new issue