Changeset 42920 for trunk/ippTools/src/pzgetexp.c
- Timestamp:
- Sep 8, 2025, 4:51:17 PM (10 months ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/pzgetexp.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pzgetexp.c
r42412 r42920 75 75 76 76 //optional 77 PXOPT_LOOKUP_STR(fromThisFileSet, config->args, "-last-fileset", false, false); 77 78 PXOPT_LOOKUP_S32(timeout, config->args, "-timeout", false, false); 78 79 PXOPT_LOOKUP_BOOL(all, config->args, "-all", false); … … 82 83 bool haveLastFileSet = false; 83 84 psString lastFileSet = NULL; 85 if (fromThisFileSet) { 86 haveLastFileSet = true; 87 lastFileSet = psStringCopy (lastFileSet); 88 } 84 89 85 90 // -all means "request all known filesets" 86 if (! all) {91 if (!lastFileSet && !all) { 87 92 char *query = "SELECT * from summitExp WHERE camera = \"%s\" and TELESCOPE = \"%s\" ORDER BY dateobs DESC LIMIT 1"; 88 93 if (!p_psDBRunQueryF(config->dbh, query, camera, telescope)) { … … 181 186 } 182 187 183 // XXX for test, make this not a temporary table: 184 // create a temporry table 188 // create a temporary table 185 189 { 186 190 char *query = "CREATE TEMPORARY TABLE incoming"
Note:
See TracChangeset
for help on using the changeset viewer.
