8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 23:23:04 +01:00

Better error reporting.

This commit is contained in:
dimitr 2009-08-25 15:36:22 +00:00
parent ce52bc9672
commit f1664f97d5

View File

@ -6025,7 +6025,7 @@ ISC_STATUS API_ROUTINE fb_ping(ISC_STATUS* user_status, FB_API_HANDLE* db_handle
{
memcpy(attachment->status, status, sizeof(ISC_STATUS_ARRAY));
CALL(PROC_DETACH, attachment->implementation) (status, &attachment->handle);
return attachment->status[1];
status_exception::raise(attachment->status);
}
}
catch (const Exception& e)