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:
parent
45f01b957d
commit
05ac7fb118
@ -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])
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user