Changeset 4341 for trunk/glueforge/templates/psdb/popfits.tt
- Timestamp:
- Jun 21, 2005, 3:41:30 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/glueforge/templates/psdb/popfits.tt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/glueforge/templates/psdb/popfits.tt
r4277 r4341 4 4 5 5 if (!fooSelectRowsFits(dbh, fits, NULL, limit)) { 6 // psError(); something bad happened6 psError(PS_ERR_UNKNOWN, true, "database error or table is empty"); 7 7 return false; 8 8 } … … 12 12 "DELETE FROM %s ORDER BY %s DESC LIMIT %lld", 13 13 [% namespace FILTER upper %]_TABLE_NAME, [% namespace FILTER upper %]_INDEX_NAME, limit) < 0) { 14 // psError(); something bad happened14 psError(PS_ERR_UNKNOWN, true, "query value attempted to exceed %s bytes", MAX_STRING_LENGTH); 15 15 return false; 16 16 } 17 17 18 18 if (!p_psDBRunQuery(dbh, query)) { 19 // psError(); something bad happened19 psError(PS_ERR_UNKNOWN, false, "database query failed"); 20 20 return false; 21 21 }
Note:
See TracChangeset
for help on using the changeset viewer.
