IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 22, 2008, 11:49:29 AM (18 years ago)
Author:
jhoblitt
Message:

update

File:
1 edited

Legend:

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

    r16587 r16616  
    763763        }
    764764
    765         if (!pstampDataStoreInsert(dbh, -64, "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 (!pstampRequestInsert(dbh, -64, -64, "a string", "a string")) {
     765        if (!pstampDataStoreInsert(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 (!pstampRequestInsert(dbh, -64, -64, "a string", "a string", "a string")) {
    781781            exit(EXIT_FAILURE);
    782782        }
Note: See TracChangeset for help on using the changeset viewer.