Subject RE: [firebird-support] Infinite loop with INSERT INTO SELECT
Author Leyne, Sean
Daniel,

> > This is a known issue and a case has already been opened for this issue
> (has existed for a long time)
>
> Firebird Core - infinite insertion cycle - Created: 13/Mar/01 12:00 AM
> Uhhhhps, okay - long time :-)

Actually, the problem goes back much further (I can recall this problem back in 1994 with IB 4.x). I wouldn't be surprised if the problem has existed since day 1.

The issue is that the engine does not fully resolve the SELECT before starting to perform the INSERT operations. So the SELECT starts to see the new records which have been inserted by the current statement... and so the statement runs without end.

The engine change required to resolve the issue is "substantial"...


Sean