Changeset 10110 for trunk/ippdb/tests/insertobject.c
- Timestamp:
- Nov 20, 2006, 1:58:03 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/insertobject.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/insertobject.c
r10060 r10110 7 7 { 8 8 psDB *dbh; 9 expTagCounterRow *object; 10 11 dbh = psDBInit("localhost", "test", NULL, "test"); 12 if (!dbh) { 13 exit(EXIT_FAILURE); 14 } 15 16 object = expTagCounterRowAlloc(64); 17 if (!object) { 18 exit(EXIT_FAILURE); 19 } 20 21 if (!expTagCounterInsertObject(dbh, object)) { 22 exit(EXIT_FAILURE); 23 } 24 25 psFree(object); 26 psDBCleanup(dbh); 27 } 28 29 { 30 psDB *dbh; 9 31 summitExpRow *object; 10 32 … … 146 168 } 147 169 148 object = newExpRowAlloc( 64, "a string", "a string", "a string", "0001-01-01T00:00:00Z", "a string", -32);170 object = newExpRowAlloc("a string", "a string", "a string", "a string", "0001-01-01T00:00:00Z", "a string", -32); 149 171 if (!object) { 150 172 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
