From: Peter Rabbitson Date: Thu, 28 Jan 2010 10:28:30 +0000 (+0000) Subject: Fix bogus test DDL X-Git-Tag: v0.08116~24 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=181b226109d23c841df7aec6a6044c0e3881f213;p=dbsrgits%2FDBIx-Class.git Fix bogus test DDL --- diff --git a/maint/gen-schema.pl b/maint/gen-schema.pl index 83c8d03..907ed11 100755 --- a/maint/gen-schema.pl +++ b/maint/gen-schema.pl @@ -8,4 +8,10 @@ use DBICTest::Schema; use SQL::Translator; my $schema = DBICTest::Schema->connect; -print scalar ($schema->storage->deployment_statements($schema, 'SQLite')); +print scalar ($schema->storage->deployment_statements( + $schema, + 'SQLite', + undef, + undef, + { producer_args => { no_transaction => 1 } } +)); diff --git a/t/lib/sqlite.sql b/t/lib/sqlite.sql index a4836f5..880227f 100644 --- a/t/lib/sqlite.sql +++ b/t/lib/sqlite.sql @@ -1,10 +1,8 @@ -- -- Created by SQL::Translator::Producer::SQLite --- Created on Tue Jan 19 12:46:12 2010 +-- Created on Thu Jan 28 11:26:22 2010 -- - - -BEGIN TRANSACTION; +; -- -- Table: artist @@ -447,6 +445,4 @@ CREATE INDEX fourkeys_to_twokeys_idx_t_artist_t_cd ON fourkeys_to_twokeys (t_art -- View: year2000cds -- CREATE VIEW year2000cds AS - SELECT cdid, artist, title, year, genreid, single_track FROM cd WHERE year = "2000"; - -COMMIT; + SELECT cdid, artist, title, year, genreid, single_track FROM cd WHERE year = "2000" \ No newline at end of file