X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-test.git;a=blobdiff_plain;f=yarrg%2Fcommod-email-processor;h=e65b2b6a91fcfe2237f6d8c123e0891a0ec5cebd;hp=a75864a57e2ff4f0d3d48514697f78d900a14d24;hb=HEAD;hpb=663db396d271b241a8ec76bd44fbda9ec432e10f diff --git a/yarrg/commod-email-processor b/yarrg/commod-email-processor index a75864a..ff0880e 100755 --- a/yarrg/commod-email-processor +++ b/yarrg/commod-email-processor @@ -34,6 +34,8 @@ BEGIN { my $selfdir= $0; $selfdir =~ s,/+[^/]*$,,; chdir("$selfdir") or die "$selfdir $!"; + + unshift @INC, qw(.); } use Commods; @@ -197,6 +199,7 @@ sub main () { # print "\n"; 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;