|
|
sybperl-l Archive
Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: sybperl 2.16 and ASE 12.5.2
Date: May 5 2004 12:38PM
On Wed, 2004-05-05 at 14:32, Kiriakos Georgiou (Contractor) wrote:
> Did you do overwrite the previous version of ASE binaries or do a fresh
> install ?
It's a parallel install. I have IQ, 12.5.1#2, 12.5.2 and the latest
12.5.1 SDK installed in different directories here. The error occurs
when using the libs from the 12.5.2 distribution and a 12.5.2 server
(though I suspect the same error would occur using these libs with a
12.5.1 or earlier server, as the error is in the client libs, not the
server).
Michael
> Michael Peppler wrote:
>
> > I've just downloaded and installed ASE 12.5.2 here, and I noticed that
> > sybperl 2.16 (and possibly earlier versions as well) fail a few tests in
> > the 2_ct_xblk.t test. The error message is:
> >
> > Open Client Message:
> > Message number: LAYER = (0) ORIGIN = (0) SEVERITY = (0) NUMBER = (0)
> > Message String: blk_rowxfer(): blk layer: internal BLK-Library error:
> > Data truncated while doing local character set conversion. col = 4 row
> > = 2.
> >
> > This is probably due to improved (or modified) behavior of the blk_()
> > API that I need to look into.
> >
> > It is related to conversion between a number and a numeric() column, in
> > this case converting 123.456 to a numeric(6.2), as there is a loss of
> > precision.
> >
> > Previous versions of OC silently accepted the number and truncated it. I
> > need to investigate to see if this is a bug or if this is expected
> > behavior.
> >
> > Michael
--
Michael Peppler Data Migrations, Inc.
mpeppler@peppler.org http://www.peppler.org/
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short
or long term contract positions - http://www.peppler.org/resume.html
|