X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-live.git;a=blobdiff_plain;f=yarrg%2Fcommod-email-processor;h=e65b2b6a91fcfe2237f6d8c123e0891a0ec5cebd;hp=1cff462cda1c67d451ee8064b9ac952e8e096cae;hb=6c12b260489687e82eaa1c6fed353dd2a40da838;hpb=59bee7afb77216585b904bd20f17e71005e9778c diff --git a/yarrg/commod-email-processor b/yarrg/commod-email-processor index 1cff462..e65b2b6 100755 --- a/yarrg/commod-email-processor +++ b/yarrg/commod-email-processor @@ -195,8 +195,9 @@ sub main () { pipethrough_run_finish($pt, 'gunzip <$deduped_tsv.gz'); # print "\n"; - $dbh->commit(); + db_chkcommit(0); + # Warning! Below runes are bogus. Do not use NATURAL JOIN! # select * from ((buy natural join commods) natural join stalls) natural join islands; # select * from ((sell natural join commods) natural join stalls) natural join islands;