Changeset 15343 for trunk/ippdb/tests/insert.c
- Timestamp:
- Oct 19, 2007, 3:59:06 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/insert.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/insert.c
r15003 r15343 13 13 } 14 14 15 if (!pzDataStoreInsert(dbh, "a string", "a string", "a string")) { 16 exit(EXIT_FAILURE); 17 } 18 19 psDBCleanup(dbh); 20 } 21 22 { 23 psDB *dbh; 24 25 dbh = psDBInit("localhost", "test", NULL, "test"); 26 if (!dbh) { 27 exit(EXIT_FAILURE); 28 } 29 15 30 if (!summitExpInsert(dbh, "a string", "a string", "a string", "0001-01-01T00:00:00Z", "a string", "a string", -32)) { 16 31 exit(EXIT_FAILURE); … … 598 613 } 599 614 615 if (!detCorrectedExpInsert(dbh, -64, -64, "a string", -64, "a string", "a string", "a string", -16)) { 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 (!detCorrectedImfileInsert(dbh, -64, -64, "a string", "a string", "a string", -16)) { 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 600 645 if (!magicRunInsert(dbh, -64, "a string", "a string", "a string", "a string", "a string", "0001-01-01T00:00:00Z")) { 601 646 exit(EXIT_FAILURE); … … 659 704 660 705 if (!magicMaskInsert(dbh, -64, "a string")) { 706 exit(EXIT_FAILURE); 707 } 708 709 psDBCleanup(dbh); 710 } 711 712 { 713 psDB *dbh; 714 715 dbh = psDBInit("localhost", "test", NULL, "test"); 716 if (!dbh) { 717 exit(EXIT_FAILURE); 718 } 719 720 if (!magicSkyfileMaskInsert(dbh, -64, -64, "a string")) { 661 721 exit(EXIT_FAILURE); 662 722 }
Note:
See TracChangeset
for help on using the changeset viewer.
