Changeset 9107 for trunk/ippdb/tests/insertobject.c
- Timestamp:
- Oct 2, 2006, 1:49:11 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/insertobject.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/insertobject.c
r9054 r9107 557 557 { 558 558 psDB *dbh; 559 detProcessedExpRow *object; 560 561 dbh = psDBInit("localhost", "test", NULL, "test"); 562 if (!dbh) { 563 exit(EXIT_FAILURE); 564 } 565 566 object = detProcessedExpRowAlloc(-32, "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string"); 567 if (!object) { 568 exit(EXIT_FAILURE); 569 } 570 571 if (!detProcessedExpInsertObject(dbh, object)) { 572 exit(EXIT_FAILURE); 573 } 574 575 psFree(object); 576 psDBCleanup(dbh); 577 } 578 579 { 580 psDB *dbh; 559 581 detStackedImfileRow *object; 560 582 … … 564 586 } 565 587 566 object = detStackedImfileRowAlloc(-32, -32, "a string", "a string", "a string", 64.64, 64.64, 64.64 , true);588 object = detStackedImfileRowAlloc(-32, -32, "a string", "a string", "a string", 64.64, 64.64, 64.64); 567 589 if (!object) { 568 590 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
