Skip to Content.
Sympa Menu

freetds - Re: [freetds] missing records by bulk insert

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] missing records by bulk insert
  • Date: Fri, 16 Nov 2007 10:08:39 -0500

MATSUMOTO, Tadashi wrote:
> I'm using FreeTds 0.64.
> By using bulk library of ctlib/blk.c, I'm attempting to "bulk insert".
...
> But error ,as follows, occurred in executing "blk_done()" for six
> records in all.
>
> Client Library error:
> severity(0) number(38) origin(0) layer(0)
> Write to SQL Server failed.
> Client Library error:
> severity(0) number(140) origin(5) layer(2)
> blk_done: blk layer: intl library error: Failed when processing
> results from server.

Tadashi,

Could you please try src/ctlib/unittests/blk_in.c. If that works, I'm
inclined to believe one of two things:

1. the test is insufficient, or
2. there's an error in your application.

If you could demonstrate #1 by modifying blk_in.c such that it produces
the error, I will look into it.

Regards,

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page