Changeset 5960 for trunk/glueforge/templates/psdb/pop.tt
- Timestamp:
- Jan 10, 2006, 12:48:48 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/glueforge/templates/psdb/pop.tt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/glueforge/templates/psdb/pop.tt
r5907 r5960 20 20 21 21 rowSet = psDBSelectRows(dbh, [% table.namespace FILTER upper %]_TABLE_NAME, NULL, 1); 22 if (!rowSet) { 23 psError(PS_ERR_UNKNOWN, true, "failed to lookup value for item %s", [% table.namespace FILTER upper %]_INDEX_NAME); 24 psFree(row); 25 return NULL; 26 } 27 22 28 row = psArrayGet(rowSet, 0); 23 29 // FIXME: psArrayGet should increment the ref count
Note:
See TracChangeset
for help on using the changeset viewer.
