Skip to Content.
Sympa Menu

freetds - RE: g__numeric_bytes_per_precison

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: g__numeric_bytes_per_precison
  • Date: Mon, 2 Sep 2002 17:42:32 +0200


>
> Hi,
>
> does anyone know the thinking behind reverting this to a
> constant value ?
>
> I think I'd made this (kind of) dynamic, so that I could give
> it different
> values depending on whether I was talking TDS 5.0 (Sybase) or
> 7.0+ (MS),
> as the two databases sent numeric data differently (using different
> numbers of bytes to store different precisions)...
>
> Bill
>
This has been changed for many reason:
- connect to Sybase/MSSQL from same program at same time
- call converts before connect to db and act always the same way
If TDS7/8 return numeric with different bytes we should correct this in
token.c (as we already make for byte ordering)

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