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

Backported detailed error reporting for conflicts during reading in NORECVER transactions.

This commit is contained in:
dimitr 2014-02-23 07:10:27 +00:00
parent fdd1910600
commit d93760ac8f

View File

@ -716,7 +716,10 @@ bool VIO_chase_record_version(thread_db* tdbb, record_param* rpb,
state = check_precommitted(transaction, rpb);
if (state == tra_active)
ERR_post(Arg::Gds(isc_deadlock));
{
ERR_post(Arg::Gds(isc_deadlock) <<
Arg::Gds(isc_concurrent_transaction) << Arg::Num(rpb->rpb_transaction_nr));
}
// refetch the record and try again. The active transaction
// could have updated the record a second time.