Subject | Re: [firebird-support] Re: About CURRENT_TRANSACTION number |
---|---|
Author | Ann W. Harrison |
Post date | 2006-11-26T18:13:47Z |
Ivan Prenosil wrote:
Best,
Ann
>>> But even with read only database each transaction will getOK ... I'll have a look at that.
>>> unique transaction id,
>> Actually, they don't. There's no place to store transaction ids,
>> so a read-only database just uses the same number over and over.
>
> Have you tried
> SELECT CURRENT_TRANSACTION FROM RDB$DATABASE;
> COMMIT;
> SELECT CURRENT_TRANSACTION FROM RDB$DATABASE;
> COMMIT;
> SELECT CURRENT_TRANSACTION FROM RDB$DATABASE;
> ...
>
> ? The numbers will increase. (of course just in fb server, not in database)
Best,
Ann