Changeset 30279
- Timestamp:
- Jan 14, 2011, 2:18:14 PM (15 years ago)
- Location:
- tags/ipp-20101215/ippTools
- Files:
-
- 2 edited
-
share/regtool_checkburntoolimfile.sql (modified) (2 diffs)
-
src/regtool.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20101215/ippTools/share/regtool_checkburntoolimfile.sql
r30241 r30279 1 1 SELECT DISTINCT 2 exp_name,2 summitExp.exp_name, 3 3 rawImfile.uri, 4 4 summitExp.dateobs AS registered, … … 31 31 AND summitExp.dateobs <= '@DATEOBS_END@' 32 32 AND summitImfile.class_id = '@CLASS_ID@' 33 AND ( exp_name <= '@EXP_NAME@')33 AND (summitExp.exp_name <= '@EXP_NAME@') 34 34 ORDER BY summitExp.dateobs -
tags/ipp-20101215/ippTools/src/regtool.c
r30241 r30279 95 95 psAbort("invalid option (this should not happen)"); 96 96 } 97 97 psTrace("regtool",9,"Attempting to free config\n"); 98 98 psFree(config); 99 99 pmConfigDone(); … … 204 204 205 205 // convert regular class_id format to summitImfile.class_id format 206 rep = psStringCopy(class_id); 207 psFree(class_id); 208 class_id = rep; 209 206 210 psStringSubstitute(&class_id,"ota","XY"); 207 211 … … 211 215 psStringSubstitute(&query,dateobs_end,"@DATEOBS_END@"); 212 216 213 fprintf(stderr,"%s",query);217 // fprintf(stderr,"%s",query); 214 218 215 219 if (!p_psDBRunQuery(config->dbh, query)) { … … 237 241 if (!psArrayLength(output)) { 238 242 psTrace("regtool", PS_LOG_INFO, "no rows found"); 239 psFree(output);240 243 return true; 241 244 }
Note:
See TracChangeset
for help on using the changeset viewer.
