Skip Menu |

This queue is for tickets about the DBIx-Class-Schema-Loader CPAN distribution.

Report information
The Basics
Id: 52087
Status: resolved
Priority: 0/
Queue: DBIx-Class-Schema-Loader

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

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



Subject: MySQL set_strict_mode disables dump of table relationships
Hi, I've just run into a strange little bug where attempting to dump_to_dir from a MySQL schema with foreign key constraints (which works fine under normal circumstances), ignores all of the table relationships if the connection attribute hashref contains on_connect_call => set_strict_mode. This is perl 5.10.1, using DBIx::Class 0.08114 and MySQL 5.0.86. In case it's of any interest, I'm also using RaiseError => 1 and AutoCommit => 1 in that attribute hashref. Thanks, Tim Rayner
Fixed in current and 0.04999_12 .