IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 9, 2007, 5:14:16 PM (19 years ago)
Author:
jhoblitt
Message:

add flatcorr tables

File:
1 edited

Legend:

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

    r15569 r15576  
    755755    }
    756756
     757    {
     758        psDB            *dbh;
     759
     760        dbh = psDBInit("localhost", "test", NULL, "test");
     761        if (!dbh) {
     762            exit(EXIT_FAILURE);
     763        }
     764
     765        if (!flatcorrRunInsert(dbh, -64, "a string", "a string", "a string", "a string")) {
     766            exit(EXIT_FAILURE);
     767        }
     768
     769        psDBCleanup(dbh);
     770    }
     771
     772    {
     773        psDB            *dbh;
     774
     775        dbh = psDBInit("localhost", "test", NULL, "test");
     776        if (!dbh) {
     777            exit(EXIT_FAILURE);
     778        }
     779
     780        if (!flatcorrExpInsert(dbh, -64, -64, "a string")) {
     781            exit(EXIT_FAILURE);
     782        }
     783
     784        psDBCleanup(dbh);
     785    }
     786
    757787    exit(EXIT_SUCCESS);
    758788}
Note: See TracChangeset for help on using the changeset viewer.