Subject | Re: [firebird-support] mon$record_inserts and rolled-back transactions |
---|---|
Author | Douglas Tosi |
Post date | 2008-08-21T18:38:43Z |
On Thu, Aug 21, 2008 at 2:53 PM, Vlad Khorsun
<hvlad@...> wrote:
With that perspective in mind it makes sense.
[]s
--
Douglas Tosi
www.sinatica.com
<hvlad@...> wrote:
>> Now A rolls back.Thanks Vlad.
>> Again B "selects mon$record_inserts from mon$record_stats where
>> mon$stat_group = 1". The result is still 1.
>> Shouldn't the result be zero?
>
> Why ? Insert was performed by the engine. Also backout was made at
> rollback. This all is pieces of job that was really executed. Its not about
> transaction, record counts etc. Its statistics.
With that perspective in mind it makes sense.
[]s
--
Douglas Tosi
www.sinatica.com