mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 16:03:03 +01:00
Support for "read committed read consistency" mode in monitoring tables
This commit is contained in:
parent
f9ca873c65
commit
f3637f4898
@ -119,6 +119,7 @@ Monitoring tables
|
||||
1: concurrency
|
||||
2: read committed record version
|
||||
3: read committed no record version
|
||||
4: read committed read consistency
|
||||
- MON$LOCK_TIMEOUT (lock timeout)
|
||||
-1: infinite wait
|
||||
0: no wait
|
||||
|
@ -978,8 +978,10 @@ void Monitoring::putTransaction(SnapshotData::DumpRecord& record, const jrd_tra*
|
||||
temp = iso_mode_consistency;
|
||||
else if (transaction->tra_flags & TRA_read_committed)
|
||||
{
|
||||
temp = (transaction->tra_flags & TRA_rec_version) ?
|
||||
iso_mode_rc_version : iso_mode_rc_no_version;
|
||||
temp = (transaction->tra_flags & TRA_read_consistency) ?
|
||||
iso_mode_rc_read_consistency :
|
||||
(transaction->tra_flags & TRA_rec_version) ?
|
||||
iso_mode_rc_version : iso_mode_rc_no_version;
|
||||
}
|
||||
else
|
||||
temp = iso_mode_concurrency;
|
||||
|
@ -265,7 +265,8 @@ enum tra_iso_mode_t {
|
||||
iso_mode_consistency = 0,
|
||||
iso_mode_concurrency = 1,
|
||||
iso_mode_rc_version = 2,
|
||||
iso_mode_rc_no_version = 3
|
||||
iso_mode_rc_no_version = 3,
|
||||
iso_mode_rc_read_consistency = 4
|
||||
};
|
||||
|
||||
// statistics groups
|
||||
|
Loading…
Reference in New Issue
Block a user