Changeset 21443
- Timestamp:
- Feb 11, 2009, 3:08:59 PM (17 years ago)
- Location:
- trunk/ippTools
- Files:
-
- 2 edited
-
share/camtool_find_processedexp.sql (modified) (1 diff)
-
src/camtool.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/camtool_find_processedexp.sql
r18029 r21443 15 15 JOIN rawExp 16 16 ON chipProcessedImfile.exp_id = rawExp.exp_id 17 WHERE -- bogus condition so there is a pre-existing where to append to18 camProcessedExp.cam_id IS NOT NULL -
trunk/ippTools/src/camtool.c
r21402 r21443 655 655 } 656 656 657 // use psDBGenerateWhereConditionalSQL with AND ... because the SQL ends in a WHERE658 657 if (psListLength(where->list)) { 659 658 psString whereClause = psDBGenerateWhereConditionSQL(where, NULL); 660 psStringAppend(&query, " AND%s", whereClause);659 psStringAppend(&query, " WHERE %s", whereClause); 661 660 psFree(whereClause); 662 661 } … … 677 676 psFree(limitString); 678 677 } 678 679 // order by cam_id so that the postage stamp parser can easliy find the 'latest' astrometry 680 psStringAppend(&query, "\nORDER BY cam_id"); 679 681 680 682 if (!p_psDBRunQuery(config->dbh, query)) {
Note:
See TracChangeset
for help on using the changeset viewer.
