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 return and the application will be in dead loop.
Please try the latest snapshot again.
regards,
Hiroshi Inoue
http://w2422.nsk.ne.jp/~inoue/