Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Trigger/sequence bug in 8.1.7.2.0 and 9.0.1.3.0 and ... ?
.. interesting...
I'd be willing to bet a donut that Oracle isn't using copy semnatics
when passing the transition variable.
so :new.id is pointing straight to the buffer holding the nextval.
The dummy variable assignment forces the copy.
Fix will likely be to force copies when cosuming any of those special
guys since detecting the conflict is hard.
Just my 2 (reverse engineered) cents
Cheers
Serge
-- Serge Rielau DB2 UDB SQL Compiler Development IBM Software Lab, CanadaReceived on Tue May 28 2002 - 22:24:41 CDT