IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 20, 2006, 1:58:03 PM (20 years ago)
Author:
jhoblitt
Message:

VERSION 0.0.57

File:
1 edited

Legend:

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

    r10060 r10110  
    2121        }
    2222
     23        if (!expTagCounterSelectRowsFits(dbh, fits, NULL, 1)) {
     24            exit(EXIT_FAILURE);
     25        }
     26
     27        psFree(fits);
     28        psDBCleanup(dbh);
     29    }
     30
     31    {
     32        psDB            *dbh;
     33        psFits          *fits;
     34
     35        dbh = psDBInit("localhost", "test", NULL, "test");
     36        if (!dbh) {
     37            exit(EXIT_FAILURE);
     38        }
     39
     40        fits = psFitsOpen(TMP_FILENAME, "w");
     41        if (!fits) {
     42            exit(EXIT_FAILURE);
     43        }
     44
    2345        if (!summitExpSelectRowsFits(dbh, fits, NULL, 1)) {
    2446            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.