Changeset 21443 for trunk/ippTools/src/camtool.c
- Timestamp:
- Feb 11, 2009, 3:08:59 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/camtool.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
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.
