chiark / gitweb /
Do referential integrity check on every incoming update
[ypp-sc-tools.db-live.git] / yarrg / commod-email-processor
index 1cff462..8acf4c1 100755 (executable)
@@ -195,7 +195,7 @@ sub main () {
     pipethrough_run_finish($pt, 'gunzip <$deduped_tsv.gz');
 
 #    print "\n";
-    $dbh->commit();
+    db_chkcommit();
 
     # select * from ((buy natural join commods) natural join stalls) natural join islands;
     # select * from ((sell natural join commods) natural join stalls) natural join islands;