Subject Re: [IB-Architect] Isolation level implemetation
Author Ann W. Harrison
At 05:03 PM 12/11/2000 +0100, Ivan Prenosil wrote:

>The comment is source code ("jrd/tra.c") says:
>
>==========
>/* 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 ?

It's certainly worth building and testing. That would be a great
feature for Firebird.

Regards,

Ann