Fix compile error with some compilers

parent 5f9d1cf7
...@@ -1532,15 +1532,17 @@ int Dbtup::handleDeleteReq(Signal* signal, ...@@ -1532,15 +1532,17 @@ int Dbtup::handleDeleteReq(Signal* signal,
if (regTabPtr->need_expand(disk)) if (regTabPtr->need_expand(disk))
prepare_read(req_struct, regTabPtr, disk); prepare_read(req_struct, regTabPtr, disk);
Uint32 RlogSize;
int ret= handleReadReq(signal, regOperPtr, regTabPtr, req_struct);
if (ret == 0 && (RlogSize= req_struct->log_size))
{ {
jam(); Uint32 RlogSize;
sendLogAttrinfo(signal, RlogSize, regOperPtr); int ret= handleReadReq(signal, regOperPtr, regTabPtr, req_struct);
if (ret == 0 && (RlogSize= req_struct->log_size))
{
jam();
sendLogAttrinfo(signal, RlogSize, regOperPtr);
}
return ret;
} }
return ret;
error: error:
tupkeyErrorLab(signal); tupkeyErrorLab(signal);
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