Skip to Content.
Sympa Menu

freetds - Re: PHP's mssql_fetch_row inserting '\0' on strings ?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Andre Costa <brblueser AT uol.com.br>
  • To: "TDS Development Group" <freetds AT franklin.metalab.unc.edu>
  • Cc: LowdenJK AT bernstein.com
  • Subject: Re: PHP's mssql_fetch_row inserting '\0' on strings ?
  • Date: Thu, 20 Jun 2002 18:28:18 -0300


Thank you guys for the patience with all the explanations and for
releasing a patch so fast. Awesome work =)

Best,

Andre

On Thu, 20 Jun 2002 17:01:40 -0400
"Lowden, James K" <LowdenJK AT bernstein.com> wrote:

> > 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
>
> ---
> You are currently subscribed to freetds as: [brblueser AT uol.com.br]
> To unsubscribe, forward this message to
> $subst('Email.Unsub')
>




Archive powered by MHonArc 2.6.24.

Top of Page