Changeset 27679 for trunk/ippTools/src/stacktool.c
- Timestamp:
- Apr 14, 2010, 11:54:15 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/stacktool.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/stacktool.c
r27678 r27679 753 753 } 754 754 755 psString whereClause = psStringCopy(""); // WHERE conditions to add 755 756 if (psListLength(where->list)) { 756 psString whereClause= psDBGenerateWhereConditionSQL(where, NULL);757 psStringAppend(& query, " AND %s", whereClause);758 psFree( whereClause);757 psString new = psDBGenerateWhereConditionSQL(where, NULL); 758 psStringAppend(&whereClause, "\nAND %s", new); 759 psFree(new); 759 760 } 760 761 psFree(where); … … 767 768 } 768 769 769 if (!p_psDBRunQuery (config->dbh, query)) {770 if (!p_psDBRunQueryF(config->dbh, query, whereClause)) { 770 771 psError(PS_ERR_UNKNOWN, false, "database error"); 771 772 psFree(query);
Note:
See TracChangeset
for help on using the changeset viewer.
