Subject: | bug in more_results method |
Date: | Mon, 4 May 2009 11:55:28 +0400 |
To: | bug-DBD-mysql [...] rt.cpan.org |
From: | Alexey Melezhik <melezhik [...] gmail.com> |
it seems more_results method work incorrectly on the emd of multiple
results sets.
DESCRIPTION MySQL driver for DBI
CPAN_USERID CAPTTOFU (Patrick Galbraith <patg@patg.net>)
CPAN_VERSION 4.011
CPAN_FILE C/CA/CAPTTOFU/DBD-mysql-4.011.tar.gz
UPLOAD_DATE 2009-04-14
DSLIP_STATUS RmcO? (released,mailing-list,C,object-oriented,)
MANPAGE DBD::mysql - MySQL driver for the Perl5 Database
Interface (DBI)
INST_FILE
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux-thread-multi/DBD/mysql.pm
INST_VERSION 4.005
----
I have the test attached test. The test was made by original
DBD::mysql regression test by adding just one line in the end test:
melezhik DBD-mysql-4.011-MidmLk # make test TEST_FILES=t/81procs.t
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/81procs.t
t/81procs....NOK 28
# Failed test 'more results should give undef'
# at t/81procs.t line 125.
# got: '1'
# expected: undef
# Looks like you failed 1 test of 30.
t/81procs....dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 28
Failed 1/30 tests, 96.67% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/81procs.t 1 256 30 1 3.33% 28
Failed 1/1 test scripts, 0.00% okay. 1/30 subtests failed, 96.67% okay.
make: *** [test_dynamic] Error 1
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.