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: killer query
- Date: Tue, 25 Jun 2002 10:17:52 +0200
>
> Thanks, Brian. I lifted that code and it seems to work.
>
> Now appearing in src/tds/token.c::tds7_process_result:
> 705 if (is_numeric_type(curcol->column_type)) {
> 706 info->row_size +=
> sizeof(TDS_NUMERIC) + 1;
> 707 }
> 708
> + 709 /* actually this 4 should be a machine
> dependent #define */
> + 710 remainder = info->row_size % 4;
> + 711 if (remainder) info->row_size += (4 - remainder);
> 712
> 713 }
> 714
> 715 /* all done now allocate a row for
> tds_process_row to use */
> 716 info->current_row = tds_alloc_row(info);
Instead of 4 a macro like
#define MACHINE_ALIGN (sizeof(void*) > sizeof(int) ? sizeof(void*) :
sizeof(int) )
should be enough.
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."
=================================
-
Re: killer query
, (continued)
- Re: killer query, ZIGLIO Frediano, 06/24/2002
- Re: killer query, Bill Thompson, 06/24/2002
- Re: killer query, Bill Thompson, 06/24/2002
- Re: killer query, ZIGLIO Frediano, 06/24/2002
- Re: killer query, ZIGLIO Frediano, 06/24/2002
- Re: killer query, Thompson, Bill D (London), 06/24/2002
- Re: killer query, Lowden, James K, 06/24/2002
- Re: killer query, Lowden, James K, 06/24/2002
- Re: killer query, Brian Bruns, 06/24/2002
- Re: killer query, Lowden, James K, 06/24/2002
- Re: killer query, ZIGLIO Frediano, 06/25/2002
- Re: killer query, Brian Bruns, 06/25/2002
- Re: killer query, James K. Lowden, 06/25/2002
- Re: killer query, ZIGLIO Frediano, 06/26/2002
- Re: killer query, Bill Thompson, 06/26/2002
- Re: killer query, ZIGLIO Frediano, 06/26/2002
- Re: killer query, Bill Thompson, 06/26/2002
- Re: killer query, Brian Bruns, 06/26/2002
- Re: killer query, ZIGLIO Frediano, 06/26/2002
- Re: killer query, Bill Thompson, 06/26/2002
- Re: killer query, ZIGLIO Frediano, 06/26/2002
Archive powered by MHonArc 2.6.24.