Skip to Content.
Sympa Menu

freetds - Re: [freetds] DBD::Sybase

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: David Dick <ddick AT cpan.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] DBD::Sybase
  • Date: Thu, 08 Apr 2010 14:41:56 +1000

On 08/04/10 14:15, Michael Peppler wrote:
All,

I've built a new pre-release of DBD::Sybase (1.10 tobe) which has a number of
fixes (mostly for ASE 15.x), but also has a patch to build correctly against
freetds on 64bit linux machines.

If someone could take a quick look and make sure that this version builds
correctly against freetds before I publish this version officially it would
really be great.

http://www.peppler.org/downloads/DBD-Sybase-1.09_1.tar.gz

i've just tested DBD-Sybase-1.09 and DBD-Sybase-1.09_1 on fedora 12 using the freetds-devel-0.82-6.fc12.i686 package.

make runs successfully for both

make test fails for both, against Sybase ASE 15.5 on a win32 platform

however, the make test step did not seem to get worse. output of make test for DBD-Sybase-1.09_1 is attached
[dave@localhost DBD-Sybase-1.09_1]$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/autocommit.t .. ok
t/base.t ........ ok
t/exec.t ........ 18/22
# Failed test 'Implicit finish handling'
# at t/exec.t line 149.

# Failed test 'Implicit finish handling'
# at t/exec.t line 149.

# Failed test 'Implicit finish handling'
# at t/exec.t line 163.

# Failed test 'Implicit finish handling'
# at t/exec.t line 163.
# Looks like you failed 4 tests of 22.
t/exec.t ........ Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/22 subtests
t/fail.t ........ ok
t/login.t ....... ok
t/main.t ........ 1/36 Setting of CS_OPT_TEXTSIZE failed. at t/main.t line
102.
t/main.t ........ 25/36
# Failed test 'describe STATUS'
# at t/main.t line 158.
# Looks like you failed 1 test of 36.
t/main.t ........ Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/36 subtests
t/multi_sth.t ... ok
t/nsql.t ........ ok
t/place.t ....... 1/18 cs_convert failed (to_numeric(222.333)) at t/place.t
line 36.
cs_convert failed (to_numeric(222.333)) at t/place.t line 49.

# Failed test at t/place.t line 61.
# Structures begin differing at:
# $got->[0][1] = 'Jan 3 1998 12:00AM'
# $expected->[0][1] = 'Jan 3 1998 12:00:00:000AM'

# Failed test at t/place.t line 70.
# Structures begin differing at:
# $got->[0][1] = 'Jan 25 1998 12:00AM'
# $expected->[0][1] = 'Jan 25 1998 12:00:00:000AM'
# Looks like you failed 2 tests of 18.
t/place.t ....... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/18 subtests
t/thread.t ...... skipped: (no reason given)
t/xblk.t ........ 1/62
# Failed test 'Send row 1 - test 1'
# at t/xblk.t line 98.

# Failed test 'Send row 2 - test 1'
# at t/xblk.t line 98.
t/xblk.t ........ Failed 57/62 subtests
t/xblob.t ....... 4/11 Use of uninitialized value in print at t/xblob.t line
57.
Setting of CS_OPT_TEXTSIZE failed. at t/xblob.t line 64.

# Failed test 'Images are the same'
# at t/xblob.t line 87.
Use of uninitialized value in print at t/xblob.t line 129.
DBD::Sybase::st syb_ct_send_data failed: Server message number=102
severity=15 state=1 line=1 server=WINXP text=Incorrect syntax near ''.
at t/xblob.t line 133.
Setting of CS_OPT_TEXTSIZE failed. at t/xblob.t line 137.

# Failed test 'Images are the same'
# at t/xblob.t line 161.
# Looks like you failed 2 tests of 11.
t/xblob.t ....... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/11 subtests

Test Summary Report
-------------------
t/exec.t (Wstat: 1024 Tests: 22 Failed: 4)
Failed tests: 19-22
Non-zero exit status: 4
t/main.t (Wstat: 256 Tests: 36 Failed: 1)
Failed test: 28
Non-zero exit status: 1
t/place.t (Wstat: 512 Tests: 18 Failed: 2)
Failed tests: 15, 18
Non-zero exit status: 2
t/xblk.t (Wstat: 11 Tests: 7 Failed: 2)
Failed tests: 6-7
Non-zero wait status: 11
Parse errors: Bad plan. You planned 62 tests but ran 7.
t/xblob.t (Wstat: 512 Tests: 11 Failed: 2)
Failed tests: 6, 10
Non-zero exit status: 2
Files=12, Tests=176, 4 wallclock secs ( 0.11 usr 0.02 sys + 0.84 cusr
0.37 csys = 1.34 CPU)
Result: FAIL
Failed 5/12 test programs. 11/176 subtests failed.
make: *** [test_dynamic] Error 2
[dave@localhost DBD-Sybase-1.09_1]$



Archive powered by MHonArc 2.6.24.

Top of Page