- Timestamp:
- Feb 11, 2011, 2:49:34 PM (15 years ago)
- Location:
- branches/eam_branches/ipp-20101205/ippTools/src
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
difftool.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20101205/ippTools/src
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20101205/ippTools/src/difftool.c
r30530 r30579 917 917 PXOPT_COPY_S16(config->args, where, "-fault", "fault", "=="); 918 918 919 PXOPT_LOOKUP_S16(fault, config->args, "-fault", false, false); 920 919 921 if (!psListLength(where->list) && !psMetadataLookupBool(NULL, config->args, "-all")) { 920 922 psFree(where); … … 950 952 psLogMsg("difftool", PS_LOG_INFO, "Deleted %" PRIu64 " rows", psDBAffectedRows(config->dbh)); 951 953 954 if (!fault) { 955 // If fault has not been supplied, don't revert update faults with the magic value 956 // We don't do this for new runs because then they would never complete 957 // quality should be used to drop bad components 958 psStringAppend(&query_updated, " AND (diffSkyfile.fault != %d)", PXTOOL_DO_NOT_REVERT_FAULT); 959 } 952 960 if (!p_psDBRunQuery(config->dbh, query_updated)) { 953 961 psError(PS_ERR_UNKNOWN, false, "database error"); … … 3201 3209 psStringAppend(&query, " AND (diffSkyfile.skycell_id = '%s')", skycell_id); 3202 3210 } 3211 // we do not update components with the magic fault value. They are non-updateable 3212 // (But can be recovered with "difftool -revertwarped -fault 26" (PXTOOL_DO_NOT_REVERT_FAULT) 3213 psStringAppend(&query, " AND (diffSkyfile.fault != %d)", PXTOOL_DO_NOT_REVERT_FAULT); 3203 3214 3204 3215 if (!p_psDBRunQueryF(config->dbh, query, setHook, diff_id)) {
Note:
See TracChangeset
for help on using the changeset viewer.
