PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "W dot Phillip Moore" <wpm at ms dot com>
Subject: question !!!!!!!!!!!!!!!!11
Date: May 24 1999 8:00PM

>>>>> "Phil" == W Phillip Moore  writes:
>>>>> "Michael" == Michael Peppler  writes:

Michael> Although there is a bug with dbpoll(), at least for the
Michael> Solaris 2.x version, but that will only affect you if you use
Michael> asynch programming with Sybase::DBlib.

Phil> For the record, there are also problems with dbpoll() on the IRIX
Phil> platforms as well.  The test suite fails with varying errors for IRIX
Phil> 6.4 and 6.5, and also for perl5.004 or perl5.005.

Michael> Does setting the timeout to a positive integer fix the problem?

No, it doesn't.  This "fixes" the problem on Solaris, but on IRIX, it
still fails.  I set the argument of dbpoll to 1, BTW.

For perl5.004_05, the test fails quietly:

    PERL_DL_NONLAZY=1 /ms/dist/perl5/PROJ/core/5.00405/exec/bin/perl -I.././blib/arch -I.././blib/lib -I/ms/dist/perl5/PROJ/core/5.00405/exec/lib/perl5 -I/ms/dist/perl5/PROJ/core/5.00405/common/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
    t/dblib.............FAILED tests 20-22
	    Failed 3/22 tests, 86.36% okay
    t/money.............ok
    Failed Test  Status Wstat Total Fail  Failed  List of failed
    -------------------------------------------------------------------------------
    t/dblib.t                    22    3  13.64%  20-22
    Failed 1/2 test scripts, 50.00% okay. 3/35 subtests failed, 91.43% okay.

For perl5.005_03, it fails with a bit of noise:

     PERL_DL_NONLAZY=1 /ms/dist/perl5/PROJ/core/5.00503/exec/bin/perl -I../blib/arch -I../blib/lib -I/ms/dist/perl5/PROJ/core/5.00503/exec/lib/perl5 -I/ms/dist/perl5/PROJ/core/5.00503/common/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
     t/dblib.............Sybase error: Read from SQL Server failed.
     OS Error: Invalid argument
     Use of uninitialized value at t/dblib.t line 131.
     Use of uninitialized value at t/dblib.t line 128.
     FAILED tests 20-22
	     Failed 3/22 tests, 86.36% okay
     t/money.............ok
     Failed Test  Status Wstat Total Fail  Failed  List of failed
     -------------------------------------------------------------------------------
     t/dblib.t                    22    3  13.64%  20-22
     Failed 1/2 test scripts, 50.00% okay. 3/35 subtests failed, 91.43% okay.

The text in this case indicates that the error handler was called.

For perl5.005_03, with -Dusethreads, it fails with a lot more noise:

    PERL_DL_NONLAZY=1 /ms/dist/perl5/PROJ/core/5.00503-thread/exec/bin/perl -I../blib/arch -I../blib/lib -I/ms/dist/perl5/PROJ/core/5.00503-thread/exec/lib/perl5 -I/ms/dist/perl5/PROJ/core/5.00503-thread/common/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
    t/dblib.............Sybase error: Read from SQL Server failed.
    OS Error: Invalid argument
    Use of uninitialized value at t/dblib.t line 131.
    Use of uninitialized value at t/dblib.t line 128.

    ... repeats 20 times ...

    Sybase error: Read from SQL Server failed.
    OS Error: Invalid argument
    Use of uninitialized value at t/dblib.t line 131.
    Use of uninitialized value at t/dblib.t line 134.
    FAILED tests 20-22
	    Failed 3/22 tests, 86.36% okay
    t/money.............ok
    Failed Test  Status Wstat Total Fail  Failed  List of failed
    -------------------------------------------------------------------------------
    t/dblib.t                    22    3  13.64%  20-22