chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add commodclasses even for un-ordval'd commods
[ypp-sc-tools.db-live.git]
/
yarrg
/
db-idempotent-populate
diff --git
a/yarrg/db-idempotent-populate
b/yarrg/db-idempotent-populate
index 2e0b0ae5155d41d0128fb788d7b4eefca74d1040..5e0a8d5059d3f4ccc2d719257c8e76d7113430d0 100755
(executable)
--- a/
yarrg/db-idempotent-populate
+++ b/
yarrg/db-idempotent-populate
@@
-238,6
+238,8
@@
END
if (defined $c->{Ordval} and defined $cl) {
$incl{$cl}++;
$setinclass->execute($incl{$cl}, $commod);
+ } elsif (defined $cl) {
+ $incl{$cl} += 0;
}
}
db_doall(<<END);