Changeset 9973
- Timestamp:
- Nov 13, 2006, 5:52:58 PM (20 years ago)
- Location:
- trunk/ippTools/src
- Files:
-
- 2 edited
-
pztool.c (modified) (1 diff)
-
pztoolConfig.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pztool.c
r9967 r9973 91 91 92 92 if (config->where) { 93 psString whereClause = psDBGenerateWhereConditionSQL(config->where, " newExp");93 psString whereClause = psDBGenerateWhereConditionSQL(config->where, "summitExp"); 94 94 psStringAppend(&query, " AND %s", whereClause); 95 95 psFree(whereClause); -
trunk/ippTools/src/pztoolConfig.c
r9967 r9973 148 148 149 149 addWhereStr(exp_tag); 150 addWhereStr(telescope); 151 // convert '-inst' to 'camera' 152 { 153 psString str = NULL; 154 bool status = false; 155 if ((str = psMetadataLookupStr(&status, config->args, "-inst"))) { 156 if (!psMetadataAddStr(config->where, PS_LIST_TAIL, "camera", 0, "==", str)) { 157 psError(PS_ERR_UNKNOWN, false, "failed to add item camera"); 158 goto FAIL; 159 } 160 } 161 } 162 addWhereStr(exp_type); 150 163 addWhereStr(class); 151 164 addWhereStr(class_id);
Note:
See TracChangeset
for help on using the changeset viewer.
