Changeset 23532 for branches/pap/ippTools/src/difftool.c
- Timestamp:
- Mar 25, 2009, 12:48:19 PM (17 years ago)
- File:
-
- 1 edited
-
branches/pap/ippTools/src/difftool.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap/ippTools/src/difftool.c
r23506 r23532 485 485 PXOPT_LOOKUP_S64(diff_id, config->args, "-diff_id", true, false); // required 486 486 PXOPT_LOOKUP_STR(skycell_id, config->args, "-skycell_id", true, false); 487 PXOPT_LOOKUP_S16(code, config->args, "-code", false, false); 488 PXOPT_LOOKUP_STR(uri, config->args, "-uri", (code == 0), false); 489 PXOPT_LOOKUP_STR(path_base, config->args, "-path_base", (code == 0), false); 487 PXOPT_LOOKUP_S16(fault, config->args, "-fault", false, false); 488 PXOPT_LOOKUP_S16(quality, config->args, "-quality", false, false); 489 PXOPT_LOOKUP_STR(uri, config->args, "-uri", (fault == 0), false); 490 PXOPT_LOOKUP_STR(path_base, config->args, "-path_base", (fault == 0), false); 490 491 491 492 // optional … … 540 541 hostname, 541 542 good_frac, 542 code, 543 fault, 544 quality, 543 545 magicked 544 546 )) { … … 578 580 PXOPT_COPY_S64(config->args, where, "-diff_skyfile_id", "diffInputSkyfile.diff_skyfile_id", "=="); 579 581 PXOPT_COPY_STR(config->args, where, "-tess_id", "diffSkyfile.tess_id", "=="); 580 PXOPT_COPY_S16(config->args, where, "- code", "diffSkyfile.fault", "==");582 PXOPT_COPY_S16(config->args, where, "-fault", "diffSkyfile.fault", "=="); 581 583 PXOPT_COPY_S64(config->args, where, "-exp_id", "rawExp.exp_id", "=="); 582 584 PXOPT_COPY_STR(config->args, where, "-exp_name", "rawExp.exp_name", "=="); … … 655 657 PXOPT_COPY_S64(config->args, where, "-diff_id", "diffSkyfile.diff_id", "=="); 656 658 PXOPT_COPY_STR(config->args, where, "-label", "diffRun.label", "=="); 657 PXOPT_COPY_S16(config->args, where, "-code", "fault", "=="); 659 PXOPT_COPY_S16(config->args, where, "-fault", "fault", "=="); 660 PXOPT_COPY_S16(config->args, where, "-quality", "quality", "=="); 658 661 659 662 if (!psDBTransaction(config->dbh)) { … … 1662 1665 PS_ASSERT_PTR_NON_NULL(config, false); 1663 1666 1664 PXOPT_LOOKUP_S16( code, config->args, "-code", true, false);1667 PXOPT_LOOKUP_S16(fault, config->args, "-fault", true, false); 1665 1668 1666 1669 psMetadata *where = psMetadataAlloc(); 1667 1670 PXOPT_COPY_S64(config->args, where, "-diff_id", "diff_id", "=="); 1668 1671 1669 if (!pxSetFaultCode(config->dbh, "diffSkyfile", where, code)) {1672 if (!pxSetFaultCode(config->dbh, "diffSkyfile", where, fault)) { 1670 1673 psError(PS_ERR_UNKNOWN, false, "failed to set set fault flag"); 1671 1674 psFree (where);
Note:
See TracChangeset
for help on using the changeset viewer.
