It was added on the assumption that in static mode nothing else was
going to happen after the loading was done, but that's really none of
our concern, so we shouldn't interfere with it.
It also broke the in-transaction dump test with DBIC's new stricter
connectedness checking on txn ops (dbsrgits/dbix-class@
d4702d53).
Revision history for Perl extension DBIx::Class::Schema::Loader
- Fix many_to_many bridges going back to the same table
+ - Don't disconnect after ->load in static mode
0.07040 2014-05-27
- Add options to omit the version and timestamp from the
local $self->dbh->{PrintError} = 0;
$self->next::method(@_);
-
- $self->schema->storage->disconnect unless $self->dynamic;
}
sub _sth_for {