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: "James K. Lowden" <jklowden AT freetds.org>
  • To: dveiga AT advtechnology.com.ar, 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 12:00:08 -0400

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




Archive powered by MHonArc 2.6.24.

Top of Page