Revision history for {{$dist->name}}
{{$NEXT}}
- - Stop deleting the wrong version
+ - Stop warning all the time (ribasushi)
+ - Stop deleting the wrong version (for downgrades)
- Fix documentation for in the Cookbook (moltar)
0.001005 2011-04-13 15:21:08 CST6CDT
use DBI;
DBICDHTest::ready;
-my $dbh = DBI->connect('dbi:SQLite::memory:');
+
+my $dbh = DBICDHTest::dbh();
my @connection = (sub { $dbh }, { ignore_version => 1 });
my $sql_dir = 't/sql';
DBICDHTest::ready;
-my $dbh = DBI->connect('dbi:SQLite::memory:');
+my $dbh = DBICDHTest::dbh();
my @connection = (sub { $dbh }, { ignore_version => 1 });
my $sql_dir = 't/sql';
DBICDHTest::ready;
-my $dbh = DBI->connect('dbi:SQLite::memory:');
+my $dbh = DBICDHTest::dbh();
my @connection = (sub { $dbh }, { ignore_version => 1 });
my $sql_dir = 't/sql';
DBICDHTest::ready;
-my $dbh = DBI->connect('dbi:SQLite::memory:');
+my $dbh = DBICDHTest::dbh();
my @connection = (sub { $dbh }, { ignore_version => 1 });
my $sql_dir = 't/sql';
DBICDHTest::ready;
-my $dbh = DBI->connect('dbi:SQLite::memory:');
+my $dbh = DBICDHTest::dbh();
my @connection = (sub { $dbh }, { ignore_version => 1 });
my $sql_dir = 't/sql';
use File::Spec::Functions;
use File::Path qw(rmtree mkpath);
-my $dbh = DBI->connect('dbi:SQLite::memory:');
+my $dbh = DBICDHTest::dbh();
my @connection = (sub { $dbh }, { ignore_version => 1 });
my $sql_dir = 't/sql';
use File::Spec::Functions;
-my $dbh = DBI->connect('dbi:SQLite::memory:');
+my $dbh = DBICDHTest::dbh();
my @connection = (sub { $dbh }, { ignore_version => 1 });
my $sql_dir = 't/sql';
use File::Spec::Functions;
use File::Path qw(rmtree mkpath);
-my $dbh = DBI->connect('dbi:SQLite::memory:');
+my $dbh = DBICDHTest::dbh();
my @connection = (sub { $dbh }, { ignore_version => 1 });
my $sql_dir = 't/sql';
use warnings;
use File::Path 'remove_tree';
-use Test::More;
-use Test::Exception;
+use DBI;
sub ready {
if (-d 't/sql') {
}
}
+sub dbh {
+ DBI->connect('dbi:SQLite::memory:', undef, undef, { RaiseError => 1 })
+}
+
1;
}
}
+sub dbh {
+ DBI->connect('dbi:SQLite::memory:', undef, undef, { RaiseError => 1 })
+}
+
1;
use DBICVersion_v1;
use DBIx::Class::DeploymentHandler;
-my $dbh = DBI->connect('dbi:SQLite::memory:');
+my $dbh = DBICDHTest::dbh();
my @connection = (sub { $dbh }, { ignore_version => 1 });
my $sql_dir = 't/sql';