freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Frediano Ziglio <freddy77 AT gmail.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] suspected corruption
- Date: Thu, 06 Dec 2007 20:41:03 +0100
Il giorno mer, 05/12/2007 alle 11.39 -0500, James K. Lowden ha scritto:
> ZIGLIO, Frediano, VF-IT wrote:
> >
> > This morning I wrote this patch... still not that much...
>
> Um, I'm not that fond of the change to the switch. You replaced my NULL
> bindval flag with two more (null_term and padding), Then you set the flags
> and goto the memset operation. All so there's only one call to memset(3)?
> I don't see how that's better.
>
> There are some other parts of your patch I like, particularly not freeing
> the old bindval until pval is ready.
>
Is it possible to set null to something different from empty (for
binary/char and so on). For instance if we want 'foo' returned for NULL
chars what does library do ?? Probably it start string with 'foo' and
pad with space. And if client specify 0/-1 as varlen? Does library
return empty string or unpadded 'foo'? And what happen if we say we want
'foo '? Does library r-trim string?
freddy77
-
[freetds] suspected corruption,
James K. Lowden, 12/04/2007
-
Re: [freetds] suspected corruption,
ZIGLIO, Frediano, VF-IT, 12/05/2007
-
Re: [freetds] suspected corruption,
James K. Lowden, 12/05/2007
-
Re: [freetds] suspected corruption,
ZIGLIO, Frediano, VF-IT, 12/05/2007
-
Re: [freetds] suspected corruption,
James K. Lowden, 12/05/2007
-
Re: [freetds] suspected corruption,
Frediano Ziglio, 12/06/2007
- Re: [freetds] suspected corruption, James K. Lowden, 12/06/2007
-
Re: [freetds] suspected corruption,
Frediano Ziglio, 12/06/2007
-
Re: [freetds] suspected corruption,
James K. Lowden, 12/05/2007
-
Re: [freetds] suspected corruption,
ZIGLIO, Frediano, VF-IT, 12/05/2007
-
Re: [freetds] suspected corruption,
James K. Lowden, 12/05/2007
-
Re: [freetds] suspected corruption,
ZIGLIO, Frediano, VF-IT, 12/05/2007
Archive powered by MHonArc 2.6.24.