Skip Menu |

This queue is for tickets about the DBD-mysql CPAN distribution.

Report information
The Basics
Id: 37930
Status: resolved
Priority: 0/
Queue: DBD-mysql

People
Owner: Nobody in particular
Requestors: ZMAN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 4.007
Fixed in: (no value)



Subject: t/40blobs.t failures
I'm getting the following failures for t/40blobs.t on 2 Linux boxes (against a 4.0.27 server). Both machines are using perl-5.8.6 and DBI-1.607. All tests pass fine for these configurations with DBD-mysql-4.005. PERL_DL_NONLAZY=1 /usr/opt/perl-5.8.6/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/40blobs.t t/40blobs....1..14 ok 1 - Drop table if exists t1 DBD::mysql::db do failed: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=utf8' at line 3 at t/40blobs.t line 49. DBD::mysql::db do failed: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=utf8' at line 3 at t/40blobs.t line 49. # Looks like you planned 14 tests but only ran 1. # Looks like your test died just after 1. dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-14 Failed 13/14 tests, 7.14% okay Failed Test Stat Wstat Total Fail List of Failed ----------------------------------------------------------------------- -------- t/40blobs.t 255 65280 14 26 2-14 Failed 1/1 test scripts. 13/14 subtests failed. Files=1, Tests=14, 0 wallclock secs ( 0.07 cusr + 0.01 csys = 0.08 CPU) Failed 1/1 test programs. 13/14 subtests failed. make: *** [test_dynamic] Error 255
Fixed - added logic to not define charset if mysql < 4.1