Commit 084849d9 authored by knielsen@ymer.(none)'s avatar knielsen@ymer.(none)

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.
parent b77f44c7
...@@ -1138,7 +1138,8 @@ Dbtup::updateStartLab(Signal* signal, ...@@ -1138,7 +1138,8 @@ Dbtup::updateStartLab(Signal* signal,
regOperPtr->attrinbufLen); regOperPtr->attrinbufLen);
} else { } else {
jam(); jam();
if (interpreterStartLab(signal, pagePtr, regOperPtr->pageOffset) == -1) retValue = interpreterStartLab(signal, pagePtr, regOperPtr->pageOffset);
if (retValue == -1)
{ {
jam(); jam();
return -1; return -1;
......
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