Skip to Content.
Sympa Menu

freetds - Re: [freetds] libdbi - freetds driver

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] libdbi - freetds driver
  • Date: Thu, 18 Aug 2005 13:43:47 +0200

>
> Hi, all.
> I'm working on new libdbi driver to adapt freetds library.
>
> On this moment I have some problems using freetds (tds layer), listed
> below. Can anybody hint me where to get related info?
>

>From doxygen documentation. Should be packaged in snapshot or distribution.

> 1) How can I check reply code from database server?
> Now, in most cases, I receive result type TDS_DONE from
> "tds_process_row_tokens()"
> call, so it isn't depend on an error messages from database server.
>

tds_process_row_tokens do not exists in current 0.64 version. Keep in mind
that libTDS is subject to change without any notice. We always suggest to use
dblib, ctlib or odbc.

> 2) After the "tds_process_row_tokens()" call I parsing received rows.
> The data of text fields ("tds_socket->res_info->current_row") are
> mixed from current and previous rows (looks like dirty buffer).
>
> For example:
>  First value: "Firstlinedata"
>  Next Value: "Nextdata"
>   Showed: "Nextdataedata"

strings are NOT null terminated in current_row...

freddy77




Archive powered by MHonArc 2.6.24.

Top of Page