IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 10, 2006, 12:48:48 PM (21 years ago)
Author:
jhoblitt
Message:

additional modifications and bug fixes to support multiple tables in a package

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/glueforge/templates/psdb/pop.tt

    r5907 r5960  
    2020
    2121    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
    2228    row = psArrayGet(rowSet, 0);
    2329    // FIXME: psArrayGet should increment the ref count
Note: See TracChangeset for help on using the changeset viewer.