Subject | Re: [firebird-support] Re: Firebird deletion problem (version 2.1.3.18185)??? |
---|---|
Author | Ann W. Harrison |
Post date | 2011-01-11T16:39:09Z |
On 1/10/2011 10:52 PM, munster77054 wrote:
retaining doesn't release the "oldest active" transaction id,
so it continues to inhibit garbage collection. I realize that
a commit closes all cursors, so you probably don't want to do
that every time, but you should define the scope of transactions
so you can do real commits regularly.
Cheers,
Ann
>Right. But as Helen said there's another kick coming. Commit
> The minimum I had to put in, on the aux table screen was:
>
> DataModule2->IBTransaction1->CommitRetaining();
>
> If I used
>
> DataModule2->IBTransaction1->Commit();
>
> Every thing would close.
>
retaining doesn't release the "oldest active" transaction id,
so it continues to inhibit garbage collection. I realize that
a commit closes all cursors, so you probably don't want to do
that every time, but you should define the scope of transactions
so you can do real commits regularly.
Cheers,
Ann