IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 30, 2006, 11:25:59 AM (20 years ago)
Author:
jhoblitt
Message:

VERSION 0.0.52

File:
1 edited

Legend:

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

    r9684 r9783  
    285285        }
    286286
     287        if (!p2MaskSelectRowsFits(dbh, fits, NULL, 1)) {
     288            exit(EXIT_FAILURE);
     289        }
     290
     291        psFree(fits);
     292        psDBCleanup(dbh);
     293    }
     294
     295    {
     296        psDB            *dbh;
     297        psFits          *fits;
     298
     299        dbh = psDBInit("localhost", "test", NULL, "test");
     300        if (!dbh) {
     301            exit(EXIT_FAILURE);
     302        }
     303
     304        fits = psFitsOpen(TMP_FILENAME, "w");
     305        if (!fits) {
     306            exit(EXIT_FAILURE);
     307        }
     308
    287309        if (!p2ProcessedImfileSelectRowsFits(dbh, fits, NULL, 1)) {
    288310            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.