Skip to Content.
Sympa Menu

freetds - Re: [freetds] dblib bcp, t0017 broken

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] dblib bcp, t0017 broken
  • Date: Fri, 27 Jan 2006 15:26:22 +0100

>
> Hi Freddy,
>
> I don't understand code in bcp.c lines 1240 onwards.
> This is yours and james' code...
>
> what is this byte its reading ?
> I don't understand what the program is expecting to find here...
>
> code used to read (long time ago) ...
>
> } else { /* unterminated field */
> if (collen)
> if (fread(coldata, collen, 1, hostfile) != 1) {
> _bcp_err_handler(dbproc, SYBEBCRE);
> return (FAIL);
> }
> }
> }
>
> Bill
>

Yes, you are right, I think patch came from Christos

https://lists.ibiblio.org/sympa/arc/freetds/2004q1/thread.html

https://lists.ibiblio.org/sympa/arc/freetds/2004q1/015049.html
https://lists.ibiblio.org/sympa/arc/freetds/2004q1/015068.html
https://lists.ibiblio.org/sympa/arc/freetds/2004q1/015077.html
https://lists.ibiblio.org/sympa/arc/freetds/2004q1/015569.html

>From ChangeLog

Thu Mar 11 22:31:44 EST 2004 JK Lowden <jklowden AT schemamania.org>
* doc/userguide.sgml added OS X build procedure by Dmitri
Fedortchenko
* src/dblib/bcp.c applied patch from ML from Christos

Now... what this patch should fix? I'm trying to get a reply from
https://lists.ibiblio.org/sympa/arc/freetds/2003q4/thread.html (Cf. "bcp
is really busted" thread).

Well... I think I'll go for a coffe' :)

freddy77




Archive powered by MHonArc 2.6.24.

Top of Page