Subject Re: [firebird-support] mon$record_inserts and rolled-back transactions
Author Douglas Tosi
On Thu, Aug 21, 2008 at 2:53 PM, Vlad Khorsun
<hvlad@...> wrote:
>> Now A rolls back.
>> 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.

Thanks Vlad.
With that perspective in mind it makes sense.

[]s
--
Douglas Tosi
www.sinatica.com