Changeset 27542 for trunk/ippTools/src/disttool.c
- Timestamp:
- Mar 30, 2010, 8:10:49 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/disttool.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/disttool.c
r27483 r27542 1673 1673 PXOPT_COPY_STR(config->args, where, "-dist_group", "dist_group", "LIKE"); 1674 1674 1675 PXOPT_LOOKUP_BOOL(clean, config->args, "-clean", false); 1676 PXOPT_LOOKUP_BOOL(full, config->args, "-full", false); 1677 if (full && clean) { 1678 psError(PS_ERR_UNKNOWN, true, "-full and -clean makes no sense, chose one or the other"); 1679 psFree(where); 1680 return false; 1681 } 1682 1683 1675 1684 PXOPT_LOOKUP_STR(state, config->args, "-set_state", false, false); 1676 1685 if (!state) { … … 1692 1701 } 1693 1702 psFree(where); 1703 1704 if (clean) { 1705 psStringAppend(&query, " AND distTarget.clean"); 1706 } else { 1707 psStringAppend(&query, " AND NOT distTarget.clean"); 1708 } 1694 1709 1695 1710 if (!p_psDBRunQueryF(config->dbh, query, state)) {
Note:
See TracChangeset
for help on using the changeset viewer.
