Changeset 43013
- Timestamp:
- May 11, 2026, 3:07:05 PM (3 months ago)
- Location:
- branches/eam_branches/ipp-pstamp-20260421/ippTools/src
- Files:
-
- 3 edited
-
difftool.c (modified) (3 diffs)
-
pxadmin.c (modified) (1 diff)
-
stacktool.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-pstamp-20260421/ippTools/src/difftool.c
r41681 r43013 1250 1250 PXOPT_COPY_STR(config->args, where, "-data_group", "warpRun.data_group", "=="); 1251 1251 PXOPT_COPY_STR(config->args, where, "-skycell_id", "warpSkyfile.skycell_id", "=="); 1252 PXOPT_COPY_F32(config->args, where, "-good_frac", "warpSkyfile.good_frac", ">=");1252 PXOPT_COPY_F32(config->args, where, "-good_frac", "warpSkyfile.good_frac", ">="); 1253 1253 PXOPT_COPY_STR(config->args, where, "-stack_label", "stackRun.label", "=="); 1254 1254 PXOPT_COPY_STR(config->args, where, "-stack_data_group", "stackRun.data_group", "=="); … … 1324 1324 1325 1325 // This is just a simple query, so we don't need to do a transaction 1326 if (!p_psDBRunQueryF(config->dbh, query, whereClauseString, diffWhereClause, joinWhereClause)) {1326 if (!p_psDBRunQueryF(config->dbh, query, whereClauseString, diffWhereClause, joinWhereClause)) { 1327 1327 psError(PS_ERR_UNKNOWN, false, "database error"); 1328 1328 psFree(query); … … 1334 1334 psFree(joinWhereClause); 1335 1335 1336 } 1337 else { 1336 } else { 1338 1337 // Don't queue things that already have diffs. 1339 1338 if (! (reRun || newTemplates) ) { -
branches/eam_branches/ipp-pstamp-20260421/ippTools/src/pxadmin.c
r42387 r43013 185 185 186 186 // if name is e.g., gpc1, strcasecmp returns FALSE 187 bool allowDelete = true; 188 allowDelete = allowDelete && strcasecmp(dbName, "gpc1"); 189 allowDelete = allowDelete && strcasecmp(dbName, "gpc2"); 190 allowDelete = allowDelete && strcasecmp(dbName, "nebulous"); 191 allowDelete = allowDelete && strcasecmp(dbName, "isp"); 192 allowDelete = allowDelete && strcasecmp(dbName, "ssp"); 193 allowDelete = allowDelete && strcasecmp(dbName, "uic"); 194 allowDelete = allowDelete && strcasecmp(dbName, "hsc_v1"); 195 allowDelete = allowDelete && strcasecmp(dbName, "megacam_v1"); 187 bool allowDelete = false; 188 189 // only allow deletion for the following test databases: 190 allowDelete = allowDelete || !strcasecmp(dbName, "test"); 191 allowDelete = allowDelete || !strcasecmp(dbName, "simtest"); 192 193 // allowDelete = allowDelete && strcasecmp(dbName, "gpc1"); 194 // allowDelete = allowDelete && strcasecmp(dbName, "gpc2"); 195 // allowDelete = allowDelete && strcasecmp(dbName, "nebulous"); 196 // allowDelete = allowDelete && strcasecmp(dbName, "isp"); 197 // allowDelete = allowDelete && strcasecmp(dbName, "ssp"); 198 // allowDelete = allowDelete && strcasecmp(dbName, "uic"); 199 // allowDelete = allowDelete && strcasecmp(dbName, "hsc_v1"); 200 // allowDelete = allowDelete && strcasecmp(dbName, "megacam_v1"); 196 201 197 202 if (!allowDelete) { -
branches/eam_branches/ipp-pstamp-20260421/ippTools/src/stacktool.c
r42837 r43013 1554 1554 return false; 1555 1555 } 1556 1557 1556 psFree(where); 1558 1557
Note:
See TracChangeset
for help on using the changeset viewer.
