mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 18:43:03 +01:00
Eliminating gaps in flags.
This commit is contained in:
parent
052fd3253a
commit
09815593d4
@ -305,30 +305,24 @@ const SLONG TRA_system_transaction = 0;
|
|||||||
|
|
||||||
// Flag definitions for tra_flags.
|
// Flag definitions for tra_flags.
|
||||||
|
|
||||||
const ULONG TRA_system = 1L; // system transaction
|
const ULONG TRA_system = 1L; // system transaction
|
||||||
//const ULONG TRA_update = 2L; // update is permitted
|
const ULONG TRA_prepared = 2L; // transaction is in limbo
|
||||||
const ULONG TRA_prepared = 4L; // transaction is in limbo
|
const ULONG TRA_reconnected = 4L; // reconnect in progress
|
||||||
const ULONG TRA_reconnected = 8L; // reconnect in progress
|
const ULONG TRA_degree3 = 8L; // serializeable transaction
|
||||||
//const ULONG TRA_reserving = 16L; // relations explicityly locked
|
const ULONG TRA_write = 16L; // transaction has written
|
||||||
const ULONG TRA_degree3 = 32L; // serializeable transaction
|
const ULONG TRA_readonly = 32L; // transaction is readonly
|
||||||
//const ULONG TRA_committing = 64L; // commit in progress
|
const ULONG TRA_prepare2 = 64L; // transaction has updated RDB$TRANSACTIONS
|
||||||
const ULONG TRA_write = 128L; // transaction has written
|
const ULONG TRA_ignore_limbo = 128L; // ignore transactions in limbo
|
||||||
const ULONG TRA_readonly = 256L; // transaction is readonly
|
const ULONG TRA_invalidated = 256L; // transaction invalidated by failed write
|
||||||
//const ULONG TRA_nowait = 512L; // don't wait on relations, give up
|
const ULONG TRA_deferred_meta = 512L; // deferred meta work posted
|
||||||
const ULONG TRA_prepare2 = 1024L; // transaction has updated RDB$TRANSACTIONS
|
const ULONG TRA_read_committed = 1024L; // can see latest committed records
|
||||||
const ULONG TRA_ignore_limbo = 2048L; // ignore transactions in limbo
|
const ULONG TRA_autocommit = 2048L; // autocommits all updates
|
||||||
const ULONG TRA_invalidated = 4096L; // transaction invalidated by failed write
|
const ULONG TRA_perform_autocommit = 4096L; // indicates autocommit is necessary
|
||||||
const ULONG TRA_deferred_meta = 8192L; // deferred meta work posted
|
const ULONG TRA_rec_version = 8192L; // don't wait for uncommitted versions
|
||||||
//const ULONG TRA_add_log = 16384L; // write ahead log file was added
|
const ULONG TRA_restart_requests = 16384L; // restart all requests in attachment
|
||||||
//const ULONG TRA_delete_log = 32768L; // write ahead log file was deleted
|
const ULONG TRA_no_auto_undo = 32768L; // don't start a savepoint in TRA_start
|
||||||
const ULONG TRA_read_committed = 65536L; // can see latest committed records
|
const ULONG TRA_cancel_request = 65536L; // cancel active request, if any
|
||||||
const ULONG TRA_autocommit = 131072L; // autocommits all updates
|
const ULONG TRA_precommitted = 131072L; // transaction committed at startup
|
||||||
const ULONG TRA_perform_autocommit = 262144L; // indicates autocommit is necessary
|
|
||||||
const ULONG TRA_rec_version = 524288L; // don't wait for uncommitted versions
|
|
||||||
const ULONG TRA_restart_requests = 1048576L; // restart all requests in attachment
|
|
||||||
const ULONG TRA_no_auto_undo = 2097152L; // don't start a savepoint in TRA_start
|
|
||||||
const ULONG TRA_cancel_request = 4194304L; // cancel active request, if any
|
|
||||||
const ULONG TRA_precommitted = 8388608L; // transaction committed at startup
|
|
||||||
|
|
||||||
const int TRA_MASK = 3;
|
const int TRA_MASK = 3;
|
||||||
//const int TRA_BITS_PER_TRANS = 2;
|
//const int TRA_BITS_PER_TRANS = 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user