Changeset 27912
- Timestamp:
- May 11, 2010, 8:43:33 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/tools/czartool.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/czartool.pl
r27864 r27912 146 146 147 147 chomp($line); 148 if ($line =~ m/pantasks:/) {$passedHeader=1; next;} 149 148 if ($line =~ m/pantasks:\s+(.*)/) { 149 150 # HACK to get around 'dummy' label in stdscience 151 if ($1 !~ m/.*dummy.*/) {push(@labels, $!);} 152 $passedHeader=1; 153 next; 154 } 155 150 156 if ($passedHeader){push(@labels, $line);} 151 157 } … … 355 361 356 362 my $query = $db->prepare(<<SQL); 357 SELECT COUNT( *)363 SELECT COUNT(DISTINCT $id) 358 364 FROM $table 359 365 JOIN $joinTable USING ($id)
Note:
See TracChangeset
for help on using the changeset viewer.
