chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-test.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove a debugging print
[ypp-sc-tools.db-test.git]
/
yarrg
/
commod-email-processor
diff --git
a/yarrg/commod-email-processor
b/yarrg/commod-email-processor
index bf42c0d65ef4b8344f29963de36080b35f664535..de68fbad98250c24cb43199cb1316e7dc4f79a0f 100755
(executable)
--- a/
yarrg/commod-email-processor
+++ b/
yarrg/commod-email-processor
@@
-117,7
+117,9
@@
sub main () {
db_setocean($md{'ocean'});
my $dbfn= db_filename();
(stat $dbfn) or die "stat database $dbfn failed $!\n";
db_setocean($md{'ocean'});
my $dbfn= db_filename();
(stat $dbfn) or die "stat database $dbfn failed $!\n";
+ db_writer();
db_connect();
db_connect();
+ db_onconflict(sub { print STDERR "temporary failure: @_\n"; exit 75; });
my ($islandid) = $dbh->selectrow_array(
"SELECT islands.islandid
my ($islandid) = $dbh->selectrow_array(
"SELECT islands.islandid
@@
-206,7
+208,7
@@
sub main () {
pipethrough_run_finish($pt, 'gunzip <$deduped_tsv.gz');
pipethrough_run_finish($pt, 'gunzip <$deduped_tsv.gz');
- print "\n";
+
#
print "\n";
$dbh->commit();
# select * from ((buy natural join commods) natural join stalls) natural join islands;
$dbh->commit();
# select * from ((buy natural join commods) natural join stalls) natural join islands;