Subject | Re: [firebird-support] Re: delayed suspend |
---|---|
Author | Ivan Prenosil |
Post date | 2009-06-04T16:55:27Z |
Sean,
If an error is raised inside selectable procedure, the work is undone
only to the last internal savepoint, which is set at the start of the SP,
and when SUSPEND is performed.
Ivan
> Ivan,I will try again.
>
>> > A stored procedure call in Firebird is atomic.
>>
>> Actually not. Selectable stored procedure is atomic only between
> SUSPEND
>> calls, i.e. if an error occurs, the work is undone only to the point
> the
>> last SUSPEND was called.
>
> I think I know what you are trying to say but ... as written it is not
> correct.
If an error is raised inside selectable procedure, the work is undone
only to the last internal savepoint, which is set at the start of the SP,
and when SUSPEND is performed.
Ivan