Thread: psqlodbc07.02.0006 bug report

psqlodbc07.02.0006 bug report

From
"Han"
Date:
Hi,

    After returning SQL_NEED_DATA or SQL_ERROR, for example, SQLPrepare(hstmt, "", SQL_NTS) will return SQL_ERROR),
callingSQLGetDiagField(SQL_HANDLE_STMT, hstmt, 0, SQL_DIAG_NUMBER, &sdNum, sizeof(sdNum), NULL) will never return and
theapplication will be in dead loop. 
  Regards,      


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




Re: psqlodbc07.02.0006 bug report

From
Hiroshi Inoue
Date:
Han wrote:
>
> Hi,
>
>         After returning SQL_NEED_DATA or SQL_ERROR, for example, SQLPrepare(hstmt, "", SQL_NTS) will return
SQL_ERROR),calling SQLGetDiagField(SQL_HANDLE_STMT, hstmt, 0, SQL_DIAG_NUMBER, &sdNum, sizeof(sdNum), NULL) will never
returnand the application will be in dead loop. 

Please try the latest snapshot again.

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

Re: psqlodbc07.02.0006 bug report

From
"Han"
Date:
Hiroshi Inoue,

     After SQL_NEED_DATA, it's OK. But there's still the problem when calling SQLGetDiagField(SQL_HANDLE_STMT,...)
afterSQL_ERROR--no response and never return. 

>Han wrote:
>>
>> Hi,
>>
>>         After returning SQL_NEED_DATA or SQL_ERROR, for example, SQLPrepare(hstmt, "", SQL_NTS) will return
SQL_ERROR),calling SQLGetDiagField(SQL_HANDLE_STMT, hstmt, 0, SQL_DIAG_NUMBER, &sdNum, sizeof(sdNum), NULL) will never
returnand the application will be in dead loop. 
>
>Please try the latest snapshot again.
>
>regards,
>Hiroshi Inoue

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





Re: psqlodbc07.02.0006 bug report

From
Hiroshi Inoue
Date:
Han wrote:
>
> Hiroshi Inoue,
>
>          After SQL_NEED_DATA, it's OK. But there's still the problem when calling
SQLGetDiagField(SQL_HANDLE_STMT,...)after SQL_ERROR--no response and never return. 

Oops sorry. Please try the snapshot dll again.

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