Changeset 9149 for trunk/ippdb/tests/insertobject.c
- Timestamp:
- Oct 3, 2006, 12:09:49 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/insertobject.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/insertobject.c
r9107 r9149 645 645 { 646 646 psDB *dbh; 647 detNormalizedExpRow *object; 648 649 dbh = psDBInit("localhost", "test", NULL, "test"); 650 if (!dbh) { 651 exit(EXIT_FAILURE); 652 } 653 654 object = detNormalizedExpRowAlloc(-32, -32, "a string", 64.64, 64.64, 64.64, "a string", "a string"); 655 if (!object) { 656 exit(EXIT_FAILURE); 657 } 658 659 if (!detNormalizedExpInsertObject(dbh, object)) { 660 exit(EXIT_FAILURE); 661 } 662 663 psFree(object); 664 psDBCleanup(dbh); 665 } 666 667 { 668 psDB *dbh; 647 669 detMasterFrameRow *object; 648 670
Note:
See TracChangeset
for help on using the changeset viewer.
