DBD::mysql on Win32
Randy Kobes <[email protected]>
| Newsgroups | gmane.comp.db.mysql.perl |
|---|---|
| Message-ID | <[email protected]> |
I'm trying to build DBD::mysql (2.9004) on Win32 (ActivePerl
811, based on perl-5.8.6), and am running into problems with
mysql-4.1.10. mysql built OK (with VC++ 6), with just a few
warnings, but DBD::mysql fails a number of its tests:
============================================================
t\00base...........ok
t\10dsnlist........ok
t\20createdrop.....ok
t\30insertfetch....ok
t\40bindparam......dubious
Test returned status 5 (wstat 1280, 0x500)
t\40blobs..........ok
t\40listfields.....ok
t\40nulls..........ok
t\40numrows........ok
t\50chopblanks.....ok
t\50commit.........ok
t\60leaks..........skipped
all skipped: $ENV{SLOW_TESTS} is not set or Proc::ProcessTable not installed
t\ak-dbd...........dubious
Test returned status 5 (wstat 1280, 0x500)
DIED. FAILED tests 13-90
Failed 78/90 tests, 13.33% okay
t\akmisc...........dubious
Test returned status 5 (wstat 1280, 0x500)
DIED. FAILED tests 73-351
Failed 279/351 tests, 20.51% okay
t\dbdadmin.........ok
t\insertid.........dubious
Test returned status 5 (wstat 1280, 0x500)
t\mysql............DBD::mysql::st execute failed: Table 'table01' already exists at C:\CPAN~1\build\DBD-MY~2.900\blib\lib/Mysql.pm line 175.
DBD::mysql::st execute failed: Table 'table02' already exists at C:\CPAN~1\build\DBD-MY~2.900\blib\lib/Mysql.pm line 175.
DBD::mysql::st execute failed: Table 'table03' already exists at C:\CPAN~1\build\DBD-MY~2.900\blib\lib/Mysql.pm line 175.
DBD::mysql::st execute failed: Table 'table04' already exists at C:\CPAN~1\build\DBD-MY~2.900\blib\lib/Mysql.pm line 175.
DBD::mysql::st execute failed: Table 'table05' already exists at C:\CPAN~1\build\DBD-MY~2.900\blib\lib/Mysql.pm line 175.
dubious
Test returned status 5 (wstat 1280, 0x500)
t\mysql2...........ok
Failed 5/18 test scripts, 72.22% okay. 357/659 subtests failed, 45.83% okay.
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t\40bindparam.t 5 1280 ?? ?? % ??
t\ak-dbd.t 5 1280 90 156 173.33% 13-90
t\akmisc.t 5 1280 351 558 158.97% 73-351
t\insertid.t 5 1280 ?? ?? % ??
t\mysql.t 5 1280 ?? ?? % ??
1 test skipped.
NMAKE : fatal error U1077: 'D:\Perl\bin\perl.exe' : return code '0xff'
Stop.
=========================================================================
Most of the failures involve a memory access violation in
the shared library mysql.dll of DBD::mysql. Use of
mysql-4.0.23 leads to no such problems.
Before trying to track this down, I just wanted to confirm
that DBD-mysql is OK on unix with mysql-4.1? Thanks.
--
best regards,
randy kobes
--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/[email protected]