Changeset 9301 for trunk/ippdb/tests/insertobject.c
- Timestamp:
- Oct 5, 2006, 11:32:26 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/insertobject.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/insertobject.c
r9229 r9301 491 491 { 492 492 psDB *dbh; 493 p3ProcessedExpRow *object; 494 495 dbh = psDBInit("localhost", "test", NULL, "test"); 496 if (!dbh) { 497 exit(EXIT_FAILURE); 498 } 499 500 object = p3ProcessedExpRowAlloc("a string", "a string", "a string", 64.64, 64.64, 64.64, 32.32, 32.32, -32, "a string", "a string", -32, -32); 501 if (!object) { 502 exit(EXIT_FAILURE); 503 } 504 505 if (!p3ProcessedExpInsertObject(dbh, object)) { 506 exit(EXIT_FAILURE); 507 } 508 509 psFree(object); 510 psDBCleanup(dbh); 511 } 512 513 { 514 psDB *dbh; 493 515 detRunRow *object; 494 516
Note:
See TracChangeset
for help on using the changeset viewer.
