12 $project =~ s/.*=(.*)/$1/;
22 $db = DBI
->connect("dbi:SQLite:$name", "", "", {AutoCommit
=> 0});
24 $db->do("PRAGMA cache_size = 800000");
25 $db->do("PRAGMA journal_mode = OFF");
26 $db->do("PRAGMA count_changes = OFF");
27 $db->do("PRAGMA temp_store = MEMORY");
28 $db->do("PRAGMA locking = EXCLUSIVE");
31 sub copy_constraints
($$)
33 my $full_path = shift;
35 my $dir = dirname
($full_path);
37 $db->do('insert or ignore into constraints (str) select bound from constraints_required');
42 connect_to_db
($db_file);
43 copy_constraints
($0, $project);