Changeset 30582 for trunk/ippTools/src/regtool.c
- Timestamp:
- Feb 11, 2011, 3:12:33 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/regtool.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/regtool.c
r30352 r30582 211 211 // convert regular class_id format to summitImfile.class_id format 212 212 rep = psStringCopy(class_id); 213 psFree(class_id); 213 214 214 class_id = rep; 215 215 … … 320 320 psStringSubstitute(&query,dateobs_end,"@DATEOBS_END@"); 321 321 322 //fprintf(stderr,"%s",query);322 fprintf(stderr,"%s",query); 323 323 324 324 if (!p_psDBRunQuery(config->dbh, query)) { … … 345 345 } 346 346 347 //fprintf (stderr, "found %ld rows\n", output->n);347 fprintf (stderr, "found %ld rows\n", output->n); 348 348 if (!psArrayLength(output)) { 349 349 psTrace("regtool", PS_LOG_INFO, "no rows found"); … … 370 370 char *tmp_id = psMetadataLookupStr(&status,row,"summit_class_id"); 371 371 if (!status) { 372 //fprintf (stderr, "incomplete on %s\n", psMetadataLookupStr(NULL,row,"exp_name"));372 fprintf (stderr, "incomplete on %s\n", psMetadataLookupStr(NULL,row,"exp_name")); 373 373 continue; 374 374 } … … 440 440 already_burned = false; 441 441 442 //fprintf (stderr, "missing uri: %s %s\n", psMetadataLookupStr(NULL,row,"exp_name"), this_class_id);442 fprintf (stderr, "missing uri: %s %s\n", psMetadataLookupStr(NULL,row,"exp_name"), this_class_id); 443 443 444 444 // Save this round for next round. … … 1903 1903 psFree(query); 1904 1904 query = rep; 1905 psStringSubstitute(&class_id,"ota","XY");1906 1905 psStringSubstitute(&query,class_id,"@CLASS_ID@"); 1907 1906 psStringSubstitute(&query,"ota","XY"); 1907 1908 1908 if (!date) { 1909 1909 if (!dateobs_begin || !dateobs_end) {
Note:
See TracChangeset
for help on using the changeset viewer.
