Changeset 19276
- Timestamp:
- Aug 28, 2008, 4:24:03 PM (18 years ago)
- Location:
- trunk/ippTools
- Files:
-
- 2 edited
-
share/stacktool_sumskyfile.sql (modified) (2 diffs)
-
src/stacktool.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/stacktool_sumskyfile.sql
r19092 r19276 6 6 JOIN stackSumSkyfile 7 7 USING(stack_id) 8 JOIN stackInputSkyfile 9 USING(stack_id) 8 10 JOIN warpRun 9 -- just need 1 warp to find the camera 10 ON warpRun.warp_id = (SELECT warp_id FROM stackInputSkyfile 11 WHERE stackInputSkyfile.stack_id = stackRun.stack_id limit 1) 11 USING(warp_id) 12 12 JOIN fakeRun 13 13 ON warpRun.fake_id = fakeRun.fake_id … … 18 18 JOIN rawExp 19 19 ON chipRun.exp_id = rawExp.exp_id 20 WHERE21 -- bogus test; just here so there there is a 'WHERE' stmt to append conditionals too22 -- XXX EAM : this is not needed : fix the stacktool code.23 stackRun.stack_id is NOT NULL -
trunk/ippTools/src/stacktool.c
r19260 r19276 749 749 if (psListLength(where->list)) { 750 750 psString whereClause = psDBGenerateWhereConditionSQL(where, NULL); 751 psStringAppend(&query, " AND%s", whereClause);751 psStringAppend(&query, " WHERE %s", whereClause); 752 752 psFree(whereClause); 753 753 }
Note:
See TracChangeset
for help on using the changeset viewer.
