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

Fixed error reporting for no-wait transactions.

This commit is contained in:
dimitr 2010-02-16 16:23:49 +00:00
parent 45f01b957d
commit 05ac7fb118

View File

@ -558,7 +558,10 @@ bool LCK_lock(thread_db* tdbb, Lock* lock, USHORT level, SSHORT wait)
{
set_lock_attachment(lock, NULL);
if (!wait)
{
statusVector.copyTo(tdbb->tdbb_status_vector);
return false;
}
switch (statusVector.value()[1])
{