Skip to Content.
Sympa Menu

freetds - Re: Convert patches...

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: ZIGLIO Frediano <Frediano.Ziglio AT vodafoneomnitel.it>
  • To: "'TDS Development Group'" <freetds AT franklin.metalab.unc.edu>
  • Subject: Re: Convert patches...
  • Date: Fri, 2 Aug 2002 14:19:02 +0200


>
> Yes, but the different API's handle things differently.
> Sybase dblib and
> ctlib for instance return an error if the destination variable is too
> small to handle the returned data (and do not affect the host
> variable in
> any way), whereas odbc truncates the data as in your suggestion. I've
> tried to accurately reproduce the behaviours of the various
> API's , and I
> reckoned that unless tds_convert knew which API was calling
> it, it could
> not make the correct decisions...
>
ctlib/dblib specification document that buffer is unchanged if text exceed
destlen ?
I not I don't see the problem.

freddy77

=================================
"STRICTLY PERSONAL AND CONFIDENTIAL

This message may contain confidential and proprietary material for the sole
use of the intended recipient. Any review or distribution by others is
strictly prohibited. If you are not the intended recipient please contact
the sender and delete all copies.
The contents of this message that do not relate to the official business of
our company shall be understood as neither given nor endorsed by it."

=================================




Archive powered by MHonArc 2.6.24.

Top of Page