Bug #31848: Test failure: Cluster has problems on insert with auto-increment

Fix uninitialized variable causing failures for some interpreted update
operations on gcc 4.2.1.
This commit is contained in:
knielsen@ymer.(none) 2007-11-01 07:59:55 +01:00
parent b77f44c76d
commit 084849d917

View file

@ -1138,7 +1138,8 @@ Dbtup::updateStartLab(Signal* signal,
regOperPtr->attrinbufLen);
} else {
jam();
if (interpreterStartLab(signal, pagePtr, regOperPtr->pageOffset) == -1)
retValue = interpreterStartLab(signal, pagePtr, regOperPtr->pageOffset);
if (retValue == -1)
{
jam();
return -1;