IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 9, 2006, 11:55:54 AM (20 years ago)
Author:
jhoblitt
Message:

drop table.position auto index

File:
1 edited

Legend:

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

    r7291 r9419  
    22{
    33    psArray         *rowSet;
    4     psU64           i;
    54
    65    rowSet = psDBSelectRows(dbh, [% table.namespace FILTER upper %]_TABLE_NAME, where, limit);
    76    if (!rowSet) {
    87        return false;
    9     }
    10 
    11     // strip index column
    12     for (i = 0; i < rowSet->n; i++) {
    13         if (!psMetadataRemove((psMetadata *)rowSet->data[i], 0, [% table.namespace FILTER upper %]_INDEX_NAME)) {
    14             psError(PS_ERR_UNKNOWN, true, "failed to remove item %s", [% table.namespace FILTER upper %]_INDEX_NAME);
    15             psFree(rowSet);
    16             return false;
    17         }
    188    }
    199
Note: See TracChangeset for help on using the changeset viewer.