make dynamic schemas 0.04006 mode by default
Rafael Kitover [Sat, 28 Nov 2009 08:46:00 +0000 (08:46 +0000)]
lib/DBIx/Class/Schema/Loader/Base.pm
t/backcompat/0.04006/10sqlite_common.t

index 575345c..51bf652 100644 (file)
@@ -339,6 +339,7 @@ sub _check_back_compat {
     if ($self->{dynamic}) {
         no strict 'refs';
         my $class = ref $self || $self;
+        require DBIx::Class::Schema::Loader::Compat::v0_040;
         unshift @{"${class}::ISA"},
             'DBIx::Class::Schema::Loader::Compat::v0_040';
         Class::C3::reinitialize;
index 7899cf6..b28f1ac 100644 (file)
@@ -1,5 +1,5 @@
 use strict;
-use lib qw(t/lib);
+use lib qw(t/backcompat/0.04006/lib);
 use dbixcsl_common_tests;
 
 eval { require DBD::SQLite };