[freetds] Problem retrieveing results from a query with an IMAGE field

Daniel A. Veiga dveiga at advtechnology.com.ar
Wed Jun 4 14:05:50 EDT 2008

This is the TDSDUMP log generated for the same program I sent the
unixODBC log file for. I hope it helps ...


> Daniel A. Veiga wrote:
>>    I can reproduce the problem systematically:
>>      - If no row has any data in the IMAGE field -> no problem
>>      - When a field has something in the blob column I get an error
>> when trying to close the cursor (Linux Driver Manager log follows)
>> [ODBC][32484][SQLFreeStmt.c][140]
>>                 Entry:
>>                         Statement = 0x750380
>>                         Option = 0
>> [ODBC][32484][SQLFreeStmt.c][246]
>>                 Exit:[SQL_ERROR]
> Please post a TDSDUMP log of the session.
>>        If I try to call SQLGetDiagRec to get extended information,
>> the
>> result is SQL_NO_DATA (strange, should report something if the
>> previous function returned SQL_ERROR or SQL_SUCCESS_WITH_INFO)
> There are places in the ODBC code where diagnostic messages should be
> produced but aren't.  You may have found one.
> HTH.
> --jkl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freetds.log
Type: application/octet-stream
Size: 52153 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20080604/2da879ab/attachment.obj 

More information about the FreeTDS mailing list