Set correct error code

This commit is contained in:
unknown 2004-08-19 08:03:54 +02:00
commit 14f1d933c1

View file

@ -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
}