Commit 14f1d933 authored by unknown's avatar unknown

Set correct error code

parent f832ccaf
......@@ -1014,7 +1014,7 @@ NdbConnection::getNdbScanOperation(const char* aTableName)
if (tab != 0){
return getNdbScanOperation(tab);
} else {
setOperationErrorCodeAbort(theNdb->theError.code);
setOperationErrorCodeAbort(theNdb->theDictionary->m_error.code);
return NULL;
}//if
}
......
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