Merge 'current' into 'back-compat'
Rafael Kitover [Thu, 24 Dec 2009 06:50:16 +0000 (06:50 +0000)]
r21713@hlagh (orig r7994):  caelum | 2009-11-30 09:06:50 -0500
base results on Core, only load components if there are extra components
r21715@hlagh (orig r7996):  caelum | 2009-11-30 11:35:46 -0500
fix MySQL rel introspection with on_connect_call => "set_strict_mode" (RT#52087)
r21717@hlagh (orig r7998):  caelum | 2009-11-30 18:27:45 -0500
tests pass again
r21718@hlagh (orig r7999):  caelum | 2009-11-30 18:44:28 -0500
new dev release
r21721@hlagh (orig r8002):  caelum | 2009-11-30 20:43:04 -0500
better handling of db_schema for Oracle, based on (RT#35732)

1  2 
Makefile.PL
lib/DBIx/Class/Schema/Loader/Base.pm
lib/DBIx/Class/Schema/Loader/RelBuilder.pm

diff --cc Makefile.PL
Simple merge
@@@ -675,12 -524,9 +676,12 @@@ sub _dump_to_dir 
          $schema_text .= qq|__PACKAGE__->load_classes;\n|;
      }
  
 -    $self->_write_classfile($schema_class, $schema_text);
 +    {
 +        local $self->{version_to_dump} = $self->schema_version_to_dump;
 +        $self->_write_classfile($schema_class, $schema_text);
 +    }
  
-     my $result_base_class = $self->result_base_class || 'DBIx::Class';
+     my $result_base_class = $self->result_base_class || 'DBIx::Class::Core';
  
      foreach my $src_class (@classes) {
          my $src_text =