freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: ZIGLIO Frediano <Frediano.Ziglio AT vodafoneomnitel.it>
- To: "'TDS Development Group'" <freetds AT franklin.metalab.unc.edu>
- Subject: RE: dbdata() call inconsistent...
- Date: Wed, 11 Sep 2002 15:53:47 +0200
>
> Ok, let's test this theory. If you did something like:
>
> DBINT i;
>
> memcpy(&i, dbdata(dbproc, 2), sizeof(i));
>
> and then use 'i' instead of dbdata() directly does the
> problem go away?
>
> The information in the row buffer *should* be 4 byte aligned,
> I remember
> at least one alignment patch in the 0.60 series, so it'd be
> worth a try.
> If not it's definately a bug on our part.
>
Arghh...
in token.c
if (IS_TDS42(tds)) {
remainder = info->row_size % align;
if (remainder)
info->row_size += (align - remainder);
}
Why IS_TDS42 ??
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."
=================================
-
dbdata() call inconsistent...,
Shivakumar, Pravinkumar (ODC - Satyam), 09/09/2002
- <Possible follow-up(s)>
- Re: dbdata() call inconsistent..., James K . Lowden, 09/09/2002
- RE: dbdata() call inconsistent..., Marc Spoorendonk, 09/10/2002
- RE: dbdata() call inconsistent..., Shivakumar, Pravinkumar (ODC - Satyam), 09/11/2002
- RE: dbdata() call inconsistent..., Brian Bruns, 09/11/2002
- RE: dbdata() call inconsistent..., Bob Kline, 09/11/2002
- RE: dbdata() call inconsistent..., Shivakumar, Pravinkumar (ODC - Satyam), 09/11/2002
- RE: dbdata() call inconsistent..., Shivakumar, Pravinkumar (ODC - Satyam), 09/11/2002
- RE: dbdata() call inconsistent..., Shivakumar, Pravinkumar (ODC - Satyam), 09/11/2002
- RE: dbdata() call inconsistent..., Brian Bruns, 09/11/2002
- RE: dbdata() call inconsistent..., ZIGLIO Frediano, 09/11/2002
- RE: dbdata() call inconsistent..., Brian Bruns, 09/11/2002
- RE: dbdata() call inconsistent..., Shivakumar, Pravinkumar (ODC - Satyam), 09/11/2002
- RE: dbdata() call inconsistent..., Brian Bruns, 09/11/2002
- RE: dbdata() call inconsistent..., ZIGLIO Frediano, 09/11/2002
- RE: dbdata() call inconsistent..., Brian Bruns, 09/11/2002
Archive powered by MHonArc 2.6.24.