mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
ndb -
Fix uninit variable (potential segv) in Dbacc::sendNextScanConf discovered by magnus addition in "globals_list" ndb/src/kernel/blocks/dbacc/DbaccMain.cpp: Fix uninit variable (potential segv) in sendNextScanConf discovered by magnus addition in "globals_list"
This commit is contained in:
parent
2576beab6b
commit
5827a23bc7
1 changed files with 2 additions and 4 deletions
|
@ -11242,10 +11242,10 @@ void Dbacc::execACC_CHECK_SCAN(Signal* signal)
|
|||
operationRecPtr.i = scanPtr.p->scanFirstQueuedOp;
|
||||
ptrCheckGuard(operationRecPtr, coprecsize, operationrec);
|
||||
takeOutReadyScanQueue(signal);
|
||||
if (operationRecPtr.p->elementIsDisappeared == ZTRUE) {
|
||||
jam();
|
||||
fragrecptr.i = operationRecPtr.p->fragptr;
|
||||
ptrCheckGuard(fragrecptr, cfragmentsize, fragmentrec);
|
||||
if (operationRecPtr.p->elementIsDisappeared == ZTRUE) {
|
||||
jam();
|
||||
if (fragrecptr.p->createLcp == ZTRUE) {
|
||||
if (remainingUndoPages() < ZMIN_UNDO_PAGES_AT_COMMIT) {
|
||||
jam();
|
||||
|
@ -11890,8 +11890,6 @@ void Dbacc::sendNextScanConf(Signal* signal)
|
|||
return;
|
||||
}//if
|
||||
|
||||
fragrecptr.i = operationRecPtr.p->fragptr;
|
||||
ptrCheckGuard(fragrecptr, cfragmentsize, fragmentrec);
|
||||
if (fragrecptr.p->keyLength != 0) {
|
||||
jam();
|
||||
signal->theData[0] = scanPtr.p->scanUserptr;
|
||||
|
|
Loading…
Reference in a new issue