freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
RE: [freetds] Problem with bcp and bigendian machine
- From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
- To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
- Subject: RE: [freetds] Problem with bcp and bigendian machine
- Date: Mon, 15 Mar 2004 17:48:41 +0100
> > From: ZIGLIO, Frediano, VF-IT [mailto:Frediano.Ziglio AT vodafone.com]
> > Sent: March 12, 2004 8:02 AM
> >
> > I got this problem with bcp test
> >
> ...
> > Unclosed quotation mark before the character string 'insert bulk
> > temp13:53:32.171087 tds_put_string convertin020 32 30 20 7c 20 36 62
> > 20-32 30 20 37 20 34 20 36 |20 | 6b 20 7 4 6|
> > 0030 35 20 36 64 20 7c 0a 30-30 32 30 20 33 32 20 33 |5
> 00-73 00 74 00
> > 72 00 69 00 |p.u.t._. s.t.r.i.|
> > 0060 6e 00 67 00 20 00 63 00-6f 00 6e 00 76 00 65 00 |n.g.
> > .c. o.n.v.e.|
> > 0070 72 90 7c 32 30 20 33 30 20 32-30 2...
> > DB-LIBRARY error (severity 11, dberr 20599, oserr -1, dberrstr
> > Unrecognized bcp datatype in server table., oserrstr OpenClient):
> > send failed
>
> Well, that is the weirdest dump I've looked at in while.
> What's going on with this?
>
...
Fixed in CVS (both 0.62 and 0.63). It was a heap corruption caused by
vsnprintf returning -1 for insufficient buffer and malloc(0). HP/UX
10.20 has these problems... nothing related with bcp (just vasprintf
implementation).
freddy77
-
[freetds] Problem with bcp and bigendian machine,
ZIGLIO, Frediano, VF-IT, 03/12/2004
- <Possible follow-up(s)>
- RE: [freetds] Problem with bcp and bigendian machine, Lowden, James K, 03/12/2004
- RE: [freetds] Problem with bcp and bigendian machine, ZIGLIO, Frediano, VF-IT, 03/15/2004
Archive powered by MHonArc 2.6.24.