mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 06:43:03 +01:00
Better error reporting.
This commit is contained in:
parent
ce52bc9672
commit
f1664f97d5
@ -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));
|
memcpy(attachment->status, status, sizeof(ISC_STATUS_ARRAY));
|
||||||
CALL(PROC_DETACH, attachment->implementation) (status, &attachment->handle);
|
CALL(PROC_DETACH, attachment->implementation) (status, &attachment->handle);
|
||||||
return attachment->status[1];
|
status_exception::raise(attachment->status);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (const Exception& e)
|
catch (const Exception& e)
|
||||||
|
Loading…
Reference in New Issue
Block a user