Changeset 11867 for trunk/ippdb/tests/insert.c
- Timestamp:
- Feb 16, 2007, 4:42:59 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/insert.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/insert.c
r11820 r11867 590 590 } 591 591 592 { 593 psDB *dbh; 594 595 dbh = psDBInit("localhost", "test", NULL, "test"); 596 if (!dbh) { 597 exit(EXIT_FAILURE); 598 } 599 600 if (!p6InputScfileInsert(dbh, -32, -32, "a string", "a string")) { 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 (!p6SumScfileInsert(dbh, -32, "a string", "a string", "a string", 64.64, 64.64)) { 616 exit(EXIT_FAILURE); 617 } 618 619 psDBCleanup(dbh); 620 } 621 592 622 exit(EXIT_SUCCESS); 593 623 }
Note:
See TracChangeset
for help on using the changeset viewer.
