Changeset 21237
- Timestamp:
- Jan 29, 2009, 5:37:59 PM (17 years ago)
- Location:
- trunk/ippTools
- Files:
-
- 2 edited
-
share/difftool_definebyquery_part2.sql (modified) (2 diffs)
-
src/difftool.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/difftool_definebyquery_part2.sql
r21098 r21237 1 -- insert skycells to diff 1 -- insert skycells to diff 2 2 INSERT INTO skycellsToDiff 3 3 SELECT … … 19 19 FROM stackRun 20 20 JOIN stackSumSkyfile USING(stack_id) 21 WHERE stackSumSkyfile.fault = 0 22 AND stackRun.state = 'full' 21 23 -- stacks where hook %s 22 GROUP BY 24 GROUP BY 23 25 skycell_id, 24 26 filter -
trunk/ippTools/src/difftool.c
r21188 r21237 1004 1004 if (psListLength(stackWhere->list)) { 1005 1005 psString whereClause = psDBGenerateWhereConditionSQL(stackWhere, NULL); 1006 psStringAppend(&stackQuery, "\n WHERE%s", whereClause);1006 psStringAppend(&stackQuery, "\nAND %s", whereClause); 1007 1007 psFree(whereClause); 1008 1008 } else {
Note:
See TracChangeset
for help on using the changeset viewer.
