Changeset 14369 for trunk/ippTools/src/detselect.c
- Timestamp:
- Jul 24, 2007, 3:17:29 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/detselect.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/detselect.c
r14271 r14369 124 124 } 125 125 } 126 126 127 127 { 128 128 bool status = false; … … 175 175 176 176 if (config->where) { 177 psString whereClause = psDBGenerateWhereConditionSQL(config->where, "detRun");177 psString whereClause = psDBGenerateWhereConditionSQL(config->where, NULL); 178 178 psStringAppend(&query, " AND %s", whereClause); 179 179 psFree(whereClause); … … 181 181 182 182 { 183 psString whereClause = psDBGenerateWhereConditionSQL(where, "detRun");183 psString whereClause = psDBGenerateWhereConditionSQL(where, NULL); 184 184 psFree(where); 185 185 if (whereClause) { … … 189 189 } 190 190 191 // XXX this needs to be more controlled: we should specifically choose the 192 // single detrend image which matches all criteria and has the latest 191 // XXX this needs to be more controlled: we should specifically choose the 192 // single detrend image which matches all criteria and has the latest 193 193 // insertion date 194 194 psStringAppend(&query, " ORDER BY registered DESC LIMIT 1");
Note:
See TracChangeset
for help on using the changeset viewer.
