Subject | Re: Catching exception fails under isql |
---|---|
Author | hvlad |
Post date | 2013-03-13T15:06:44Z |
--- In firebird-support@yahoogroups.com, "Rick Debay" wrote:
Regards,
Vlad
>This is not a mine deal of course, but this is VERY BAD. Hiding exceptions is a *very bad* practice. But this is your code and your life...
> Changing the catch block:
> WHEN /*GDSCODE unique_key_violation*/ ANY DO
> Allows us to work around the problem.
> > "no current record for fetch" is well-known optimizer bug and in someWhich have no statements inside, huh ?
> form exists even in latest Firebird versions. Usually it happens when
> one mixed two kind of JOIN syntax (implicit and explicit JOIN's) in the
> same query
>
> In our case, we're selecting from a stored procedure.
Regards,
Vlad