Commit 3023d0dd authored by joreland@mysql.com's avatar joreland@mysql.com

Set correct error code

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