Subject | Re: [IB-Architect] Isolation level implemetation |
---|---|
Author | Ann W. Harrison |
Post date | 2000-12-11T17:48:19Z |
At 05:03 PM 12/11/2000 +0100, Ivan Prenosil wrote:
feature for Firebird.
Regards,
Ann
>The comment is source code ("jrd/tra.c") says:It's certainly worth building and testing. That would be a great
>
>==========
>/* If the transaction is read-only and read committed, it can be
> precommitted because it can't modify any records and doesn't
> need a snapshot preserved. This is being enabled for internal
> transactions used by the sweeper threads. This transaction type
> can run forever without impacting garbage collection or causing
> transaction bitmap growth. It can be turned on for external use
> by removing the test for TDBB_sweeper. */
>
>if (tdbb->tdbb_flags & TDBB_sweeper &&
> trans->tra_flags & TRA_readonly &&
> trans->tra_flags & TRA_read_committed)
>==========
>
>So is it safe to remove test for TDBB_sweeper ?
feature for Firebird.
Regards,
Ann