IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 16, 2008, 12:32:27 PM (18 years ago)
Author:
jhoblitt
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippdb/tests/selectrowsfits.c

    r18595 r20205  
    11431143        }
    11441144
    1145         if (!flatcorrExpSelectRowsFits(dbh, fits, NULL, 1)) {
     1145        if (!flatcorrChipLinkSelectRowsFits(dbh, fits, NULL, 1)) {
     1146            exit(EXIT_FAILURE);
     1147        }
     1148
     1149        psFree(fits);
     1150        psDBCleanup(dbh);
     1151    }
     1152
     1153    {
     1154        psDB            *dbh;
     1155        psFits          *fits;
     1156
     1157        dbh = psDBInit("localhost", "test", NULL, "test");
     1158        if (!dbh) {
     1159            exit(EXIT_FAILURE);
     1160        }
     1161
     1162        fits = psFitsOpen(TMP_FILENAME, "w");
     1163        if (!fits) {
     1164            exit(EXIT_FAILURE);
     1165        }
     1166
     1167        if (!flatcorrCamLinkSelectRowsFits(dbh, fits, NULL, 1)) {
    11461168            exit(EXIT_FAILURE);
    11471169        }
     
    11661188
    11671189        if (!pstampDataStoreSelectRowsFits(dbh, fits, NULL, 1)) {
     1190            exit(EXIT_FAILURE);
     1191        }
     1192
     1193        psFree(fits);
     1194        psDBCleanup(dbh);
     1195    }
     1196
     1197    {
     1198        psDB            *dbh;
     1199        psFits          *fits;
     1200
     1201        dbh = psDBInit("localhost", "test", NULL, "test");
     1202        if (!dbh) {
     1203            exit(EXIT_FAILURE);
     1204        }
     1205
     1206        fits = psFitsOpen(TMP_FILENAME, "w");
     1207        if (!fits) {
     1208            exit(EXIT_FAILURE);
     1209        }
     1210
     1211        if (!pstampProjectSelectRowsFits(dbh, fits, NULL, 1)) {
    11681212            exit(EXIT_FAILURE);
    11691213        }
Note: See TracChangeset for help on using the changeset viewer.