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

Report information
The Basics
Id:
12763
Status:
resolved
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
dan.kubb-cpan [...] onautopilot.com
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
1.00



Subject: Error Testing with MySQL 5.1
In the latest beta version of MySQL 5 (5.0.4) there is an error with t/mysql.t. The create table statement specifies the default value for the "val" column as being 'A', but "val" is a SMALLINT field. It looks like MySQL 5.x is stricter than 4.x and does not allow characters as the default value for numeric fields. To fix this I changed line 33 of t/mysql.t from: val SMALLINT UNSIGNED NOT NULL DEFAULT 'A', To: val SMALLINT UNSIGNED NOT NULL, And the test case now passes.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.