Changeset 16897
- Timestamp:
- Mar 8, 2008, 1:52:29 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/src/pstampparse.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/src/pstampparse.c
r16593 r16897 262 262 263 263 psStringAppend(&query, "SELECT %%s from %s WHERE %s = %%s", table, id_type); 264 if (class_id) { 264 // append class_id unless it is set to the special value "all" 265 if (class_id && strcmp("all", class_id)) { 265 266 psStringAppend(&query, "%s", " and class_id = '%s'" ); 266 267 } … … 682 683 } 683 684 psString roiString = parseROI(options); 685 #ifdef notdef 684 686 if (!roiString) { 685 687 return false; 686 688 } 689 #endif 687 690 688 691 psArray *uris = NULL; … … 695 698 } else if (!strcmp(req_type, "bycoord")) { 696 699 // images from a particular region of the sky 700 if (!roiString) { 701 fprintf(stderr, "req_type: bycoord with NULL ROI\n"); 702 return false; 703 } 697 704 uris = parseByCoord(options); 698 705 } else {
Note:
See TracChangeset
for help on using the changeset viewer.
