Thread: Bug in psqlodbc7.03.0001

Bug in psqlodbc7.03.0001

From
"Han"
Date:
Hi,

    If forget to call SQLBindParameter and the sql in SQLPrepare has '?', then it crashes when calling SQLExecute. It
willalso crash if call SQLExecDirect to execute a sql statement that has '?'. 

        Han
        zhouhanok@vip.sina.com
          2002-12-10





Re: Bug in psqlodbc7.03.0001

From
Hiroshi Inoue
Date:
Han wrote:
>
> Hi,
>
>         If forget to call SQLBindParameter and the sql in SQLPrepare has '?', then it crashes when calling
SQLExecute.It will also crash if call SQLExecDirect to execute a sql statement that has '?'. 

You are right. Please try the snapshot dll again.

regards,
Hiroshi Inoue
    http://w2422.nsk.ne.jp/~inoue/

Re: Bug in psqlodbc7.03.0001

From
"Han"
Date:
Hiroshi Inoue,

    I tested the new dll and it works well, thanks! But I want to get the new src code. When will you commit it to the
psqlodbccvs on gborg, or can I get it elsewhere? 
    Regards,

>Han wrote:
>>
>> Hi,
>>
>>         If forget to call SQLBindParameter and the sql in SQLPrepare has '?', then it crashes when calling
SQLExecute.It will also crash if call SQLExecDirect to execute a sql statement that has '?'. 
>
>You are right. Please try the snapshot dll again.
>
>regards,
>Hiroshi Inoue
>    http://w2422.nsk.ne.jp/~inoue/
>
>---------------------------(end of broadcast)---------------------------
>TIP 5: Have you checked our extensive FAQ?
>
>http://www.postgresql.org/users-lounge/docs/faq.html



        Han
        zhouhanok@vip.sina.com
          2002-12-13





Re: Bug in psqlodbc7.03.0001

From
Hiroshi Inoue
Date:
Han wrote:
>
> Hi,
>
>         If forget to call SQLBindParameter and the sql in SQLPrepare has '?', then it crashes when calling
SQLExecute.It will also crash if call SQLExecDirect to execute a sql statement that has '?'. 

Sorry for the inconvenience.
I would commit my change until tomorrow.

regards,
Hiroshi Inoue
    http://w2422.nsk.ne.jp/~inoue/