Changeset 11572 for trunk/ippTools/src/camtool.c
- Timestamp:
- Feb 1, 2007, 7:21:41 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/camtool.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/camtool.c
r11138 r11572 106 106 107 107 if (config->where) { 108 psString whereClause = psDBGenerateWhereConditionSQL(config->where, NULL);109 psStringAppend(&query, " %s", whereClause);108 psString whereClause = psDBGenerateWhereConditionSQL(config->where, "p3PendingExp"); 109 psStringAppend(&query, " AND %s", whereClause); 110 110 psFree(whereClause); 111 111 } … … 169 169 " rawExp.workdir" 170 170 " FROM p3PendingExp" 171 " JOIN p2ProcessedImfile" 172 " USING(exp_tag, p2_version)" 171 173 " JOIN rawExp" 172 174 " USING(exp_tag)" 173 " JOIN p2ProcessedImfile"174 " USING(exp_tag, p2_version)"175 175 " LEFT JOIN p3ProcessedExp" 176 176 " USING(exp_tag)" … … 480 480 if (config->where) { 481 481 psString whereClause = psDBGenerateWhereConditionSQL(config->where, NULL); 482 psStringAppend(&query, " %s", whereClause);482 psStringAppend(&query, " AND %s", whereClause); 483 483 psFree(whereClause); 484 484 }
Note:
See TracChangeset
for help on using the changeset viewer.
