Changeset 12424 for trunk/ippTools/src/dettool.c
- Timestamp:
- Mar 12, 2007, 5:52:21 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/dettool.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/dettool.c
r12422 r12424 5497 5497 // compare the counts of exp_tags 5498 5498 5499 psString query = psStringCopy( 5500 "SELECT DISTINCT\n" 5501 " det_id,\n" 5502 " iteration\n" 5503 " FROM\n" 5504 " (SELECT DISTINCT\n" 5505 " detRun.det_id,\n" 5506 " detRun.iteration,\n" 5507 " detInputExp.exp_tag\n" 5508 " FROM detRun\n" 5509 " LEFT JOIN detInputExp\n" 5510 " ON detRun.det_id = detInputExp.det_id\n" 5511 " AND detRun.iteration = detInputExp.iteration\n" 5512 " LEFT JOIN rawExp\n" 5513 " ON detInputExp.exp_tag = rawExp.exp_tag\n" 5514 " LEFT JOIN detResidExp\n" 5515 " ON detRun.det_id = detResidExp.det_id\n" 5516 " AND detRun.iteration = detResidExp.iteration\n" 5517 " AND detInputExp.exp_tag = detResidExp.exp_tag\n" 5518 " WHERE\n" 5519 " detRun.state = 'run'\n" 5520 " GROUP BY\n" 5521 " detRun.det_id,\n" 5522 " detRun.iteration\n" 5523 " HAVING\n" 5524 " COUNT(detResidExp.exp_tag) = COUNT(detInputExp.exp_tag)\n" 5525 " ) AS residdetrun\n" 5526 ); 5499 psString query = pxDataGet("dettool_find_completed_runs.sql"); 5500 if (!query) { 5501 psError(PXTOOLS_ERR_DATA, false, "failed to retreive SQL statement"); 5502 return false; 5503 } 5527 5504 5528 5505 {
Note:
See TracChangeset
for help on using the changeset viewer.
