Subject Re: [ib-support] Error destroy everything
Author Paul Reeves
Dimitry Sibiryakov wrote:

> Connect and start transaction are omitted.
> isc_dsql_prepare() - OK
> isc_dsql_execute() - OK
> isc_dsql_fetch() - OK
> isc_dsql_execute() - Error "Attempt to reopen an open
> cursor". OK, ignore.

It has been a while since I did any api level programming, but I would
have thought that it may be an idea to close the cursor before
re-executing.

> isc_dsql_fetch() - AV in gds32.dll
> Application hang-up
>
> Any other call in place of the last isc_dsql_fetch()
> gives the same results.
>
> What's wrong? Why AV, not something like "Invalid
> statement handle"?

It certainly shouldn't AV - but it looks as if it has already thrown an
error. You have ignored it and the server has had a fit. That isn't
attractive behaviour.

> Should I get a later build?
>

Has this worked in previous builds or is this the first time you have
tried this?


Paul
--

Paul Reeves
http://www.ibphoenix.com
taking InterBase further