Changeset 8118
- Timestamp:
- Aug 3, 2006, 6:05:33 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/glueforge/templates/psdb/delete.tt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/glueforge/templates/psdb/delete.tt
r8117 r8118 3 3 long long deleted = 0; 4 4 5 for (long long i = 0; i < objects->n; i++) { 6 long long count = psDBDeleteRows(dbh, [% table.namespace FILTER upper %]_TABLE_NAME, where, limit); 7 if (count < 0) { 8 psError(PS_ERR_UNKNOWN, true, "failed to delete row from [% table.namespace %]"); 9 return count; 10 } 5 long long count = psDBDeleteRows(dbh, [% table.namespace FILTER upper %]_TABLE_NAME, where, limit); 6 if (count < 0) { 7 psError(PS_ERR_UNKNOWN, true, "failed to delete row from [% table.namespace %]"); 8 return count; 11 9 12 10 deleted += count;
Note:
See TracChangeset
for help on using the changeset viewer.
