chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.web-test.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e353043
)
Do referential integrity check on every incoming update
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 2 Nov 2009 15:57:32 +0000
(15:57 +0000)
committer
Ian Jackson
<Ian.Jackson@eu.citrix.com>
Mon, 2 Nov 2009 15:57:32 +0000
(15:57 +0000)
yarrg/commod-email-processor
patch
|
blob
|
history
diff --git
a/yarrg/commod-email-processor
b/yarrg/commod-email-processor
index 1cff462cda1c67d451ee8064b9ac952e8e096cae..8acf4c105d118c38d99f49425eea89806c0a0f76 100755
(executable)
--- a/
yarrg/commod-email-processor
+++ b/
yarrg/commod-email-processor
@@
-195,7
+195,7
@@
sub main () {
pipethrough_run_finish($pt, 'gunzip <$deduped_tsv.gz');
# print "\n";
pipethrough_run_finish($pt, 'gunzip <$deduped_tsv.gz');
# print "\n";
-
$dbh->
commit();
+
db_chk
commit();
# select * from ((buy natural join commods) natural join stalls) natural join islands;
# select * from ((sell natural join commods) natural join stalls) natural join islands;
# select * from ((buy natural join commods) natural join stalls) natural join islands;
# select * from ((sell natural join commods) natural join stalls) natural join islands;