Changeset 32564
- Timestamp:
- Oct 20, 2011, 3:57:55 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippMonitor/czartool/czartool/Gpc1Db.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/czartool/czartool/Gpc1Db.pm
r32093 r32564 233 233 234 234 } 235 else { 235 # 'new' stuff really includes 'update' stuff, at least for LAP. This is a hack, but there you go 236 elsif ($state eq "new") { 236 237 237 238 $query = $self->{_db}->prepare(<<SQL); … … 239 240 FROM $table 240 241 WHERE label LIKE '$label' 241 AND state = '$state' 242 AND (state = 'new' OR state = 'update') 243 SQL 244 } 245 else { 246 247 $query = $self->{_db}->prepare(<<SQL); 248 SELECT COUNT(state) 249 FROM $table 250 WHERE label LIKE '$label' 251 AND state = 'new' 242 252 SQL 243 253 }
Note:
See TracChangeset
for help on using the changeset viewer.
