Skip to Content.
Sympa Menu

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

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Daniel A. Veiga" <dveiga AT advtechnology.com.ar>
  • To: "James K. Lowden" <jklowden AT freetds.org>, "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
  • Cc: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Problem retrieveing results from a query with an IMAGE field
  • Date: Wed, 4 Jun 2008 15:05:50 -0300 (ART)

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

Daniel

> 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
>

Attachment: freetds.log
Description: Binary data




Archive powered by MHonArc 2.6.24.

Top of Page