Changeset 10748 for trunk/ippdb/tests/insertobject.c
- Timestamp:
- Dec 15, 2006, 12:20:35 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/insertobject.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/insertobject.c
r10681 r10748 755 755 { 756 756 psDB *dbh; 757 p4 PWarpedImfileRow *object;758 759 dbh = psDBInit("localhost", "test", NULL, "test"); 760 if (!dbh) { 761 exit(EXIT_FAILURE); 762 } 763 764 object = p4 PWarpedImfileRowAlloc(-32, "a string", -32, "a string", "a string", "a string", "a string");765 if (!object) { 766 exit(EXIT_FAILURE); 767 } 768 769 if (!p4 PWarpedImfileInsertObject(dbh, object)) {757 p4WarpedImfileRow *object; 758 759 dbh = psDBInit("localhost", "test", NULL, "test"); 760 if (!dbh) { 761 exit(EXIT_FAILURE); 762 } 763 764 object = p4WarpedImfileRowAlloc(-32, "a string", -32, "a string", "a string", "a string", "a string"); 765 if (!object) { 766 exit(EXIT_FAILURE); 767 } 768 769 if (!p4WarpedImfileInsertObject(dbh, object)) { 770 770 exit(EXIT_FAILURE); 771 771 }
Note:
See TracChangeset
for help on using the changeset viewer.
