Re: Access violation C5 error on Visual FoxPro SQLEXEC() call after error - Mailing list pgsql-odbc

From Ludek Finstrle
Subject Re: Access violation C5 error on Visual FoxPro SQLEXEC() call after error
Date
Msg-id 20051212193546.GA13184@soptik.pzkagis.cz
Whole thread Raw
In response to Re: Access violation C5 error on Visual FoxPro SQLEXEC() call after error  (Ludek Finstrle <luf@pzkagis.cz>)
List pgsql-odbc
> > > I think I see the problem. I have some solutions in my mind but
> > > I have time in the evening at first.
> >
> > Thank you.
> > If you need I can try to create repro for this.
>
> It would be nice. I think I don't need it. But test is test and it's
> better to test the solution.
> So If you have time for it, I want it :-)
>
> The problem is reproducible this way:
> 1) bind X params
> 2) call ExecDirect - it fails (error, e.g. non-existing column)

Please, could you create two programs? One fails in this step
(return error) and one doesn't fail?
It could be interesting where it differs.

> 3) call SQLCancel
> 4) bind Y params (where Y < X)
> 5) call ExecDirect - this may return SQL_SUCCESS but it returns
>                      SQL_NEED_DATA right now

I'm not sure if my solution is good idea. I don't see the difference
between failure and non-failure process.

Thanks a lot

Luf

pgsql-odbc by date:

Previous
From: Ludek Finstrle
Date:
Subject: Re: Access violation C5 error on Visual FoxPro SQLEXEC() call after error
Next
From: Filip Wuytack
Date:
Subject: Out of memory troubles with version 8.01.01.02