chiark / gitweb /
Do not dump sql results table if not debug
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sun, 23 Aug 2009 12:08:51 +0000 (13:08 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sun, 23 Aug 2009 12:08:51 +0000 (13:08 +0100)
yarrg/web/routetrade

index c5c2ab7..0edcca5 100644 (file)
@@ -163,15 +163,15 @@ push @columns,                 qw(commodname
 % }
 
 % {
-<& dumptable:start, sth => $sth &>
+<& dumptable:start, qa => $qa, sth => $sth &>
 %   my $flow;
 %   while ($flow= $sth->fetchrow_hashref()) {
 %      $flow->{Ix}= @flows;
 %      $flow->{Var}= "f$flow->{Ix}";
 %      push @flows, $flow;
-<& dumptable:row, sth => $sth, row => $flow &>
+<& dumptable:row, qa => $qa, sth => $sth, row => $flow &>
 %   }
-<& dumptable:end &>
+<& dumptable:end, qa => $qa &>
 % }
 
 % my $optimise= $specific && !$confusing && @islandids>1;