freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: PHP's mssql_fetch_row inserting '\0' on strings ?
- From: "Lowden, James K" <LowdenJK AT bernstein.com>
- To: "'TDS Development Group'" <freetds AT franklin.metalab.unc.edu>
- Subject: Re: PHP's mssql_fetch_row inserting '\0' on strings ?
- Date: Thu, 20 Jun 2002 17:01:40 -0400
> From: Brian Bruns [mailto:camber AT ais.org]
> Sent: June 20, 2002 4:19 PM
> Try replacing
>
> curcol->cur_row_size = colsize;
>
> in src/tds/token.c(tds_process_row) with
>
> if (curcol->column_unicodedata) {
> curcol->cur_row_size = strlen(dest);
> } else {
> curcol->cur_row_size = colsize;
> }
Brian, that works. I can update cvs later.
--jkl
-
Re: PHP's mssql_fetch_row inserting '\0' on strings ?,
Lowden, James K, 06/20/2002
- <Possible follow-up(s)>
- Re: PHP's mssql_fetch_row inserting '\0' on strings ?, Lowden, James K, 06/20/2002
Archive powered by MHonArc 2.6.24.