Skip to content

Instantly share code, notes, and snippets.

@nicomen
Created November 19, 2012 12:55
Show Gist options
  • Save nicomen/4110497 to your computer and use it in GitHub Desktop.
Save nicomen/4110497 to your computer and use it in GitHub Desktop.
diff --git a/vendor/bazaar-schema/lib/Bazaar/Schema.pm b/vendor/bazaar-schema/lib/Bazaar/Schema.pm
index e98dd4e..b220f3d 100644
--- a/vendor/bazaar-schema/lib/Bazaar/Schema.pm
+++ b/vendor/bazaar-schema/lib/Bazaar/Schema.pm
@@ -411,6 +411,9 @@ sub prepare_for_testing {
}
);
if ($sqlt_type eq 'SQLite') {
+
+ $dh->schema->storage->dbh->do( 'PRAGMA synchronous = 0' );
+
foreach my $src ($schema->sources) {
eval {
$dh->schema->storage->dbh->do(
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment