[unixODBC-support] SQLGetDiagRec bug

Nick Gorham nick.gorham at easysoft.com
Tue Nov 7 14:51:17 GMT 2006


Ian Ashley wrote:

> Dear Nick and friends,
>
> I think that a bug has been introduced to SQLGetDiagRec somewhere 
> between the 2.2.10 and 2.2.12 releases. All the error messages seem to 
> get returned twice.
>
> The problem is demonstrated by modifying isql.c as shown below that 
> and then trying to execute an invalid statement. For example
>
> select invalid_column from invalid_table
>
I think it will be in 2.2.12, the error code was changed in that.

I will take a look at whats going on.

-- 
Nick



More information about the unixODBC-support mailing list