IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 21, 2007, 4:25:34 PM (19 years ago)
Author:
jhoblitt
Message:

VERSION 1.1.27

File:
1 edited

Legend:

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

    r14451 r14598  
    590590    }
    591591
     592    {
     593        psDB            *dbh;
     594
     595        dbh = psDBInit("localhost", "test", NULL, "test");
     596        if (!dbh) {
     597            exit(EXIT_FAILURE);
     598        }
     599
     600        if (!magicRunDropTable(dbh)) {
     601            exit(EXIT_FAILURE);
     602        }
     603
     604        psDBCleanup(dbh);
     605    }
     606
     607    {
     608        psDB            *dbh;
     609
     610        dbh = psDBInit("localhost", "test", NULL, "test");
     611        if (!dbh) {
     612            exit(EXIT_FAILURE);
     613        }
     614
     615        if (!magicInputSkyfileDropTable(dbh)) {
     616            exit(EXIT_FAILURE);
     617        }
     618
     619        psDBCleanup(dbh);
     620    }
     621
     622    {
     623        psDB            *dbh;
     624
     625        dbh = psDBInit("localhost", "test", NULL, "test");
     626        if (!dbh) {
     627            exit(EXIT_FAILURE);
     628        }
     629
     630        if (!magicTreeDropTable(dbh)) {
     631            exit(EXIT_FAILURE);
     632        }
     633
     634        psDBCleanup(dbh);
     635    }
     636
     637    {
     638        psDB            *dbh;
     639
     640        dbh = psDBInit("localhost", "test", NULL, "test");
     641        if (!dbh) {
     642            exit(EXIT_FAILURE);
     643        }
     644
     645        if (!magicNodeResultDropTable(dbh)) {
     646            exit(EXIT_FAILURE);
     647        }
     648
     649        psDBCleanup(dbh);
     650    }
     651
     652    {
     653        psDB            *dbh;
     654
     655        dbh = psDBInit("localhost", "test", NULL, "test");
     656        if (!dbh) {
     657            exit(EXIT_FAILURE);
     658        }
     659
     660        if (!magicMaskDropTable(dbh)) {
     661            exit(EXIT_FAILURE);
     662        }
     663
     664        psDBCleanup(dbh);
     665    }
     666
    592667    exit(EXIT_SUCCESS);
    593668}
Note: See TracChangeset for help on using the changeset viewer.