Changeset 9788 for trunk/ippdb/tests/insertobject.c
- Timestamp:
- Oct 30, 2006, 11:55:36 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/insertobject.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/insertobject.c
r9783 r9788 322 322 } 323 323 324 object = p3PendingExpRowAlloc("a string", -32, -32 );324 object = p3PendingExpRowAlloc("a string", -32, -32, "a string"); 325 325 if (!object) { 326 326 exit(EXIT_FAILURE); … … 344 344 } 345 345 346 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, 32.32, -32, -32 );346 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, 32.32, -32, -32, "a string"); 347 347 if (!object) { 348 348 exit(EXIT_FAILURE); … … 350 350 351 351 if (!p3ProcessedExpInsertObject(dbh, object)) { 352 exit(EXIT_FAILURE); 353 } 354 355 psFree(object); 356 psDBCleanup(dbh); 357 } 358 359 { 360 psDB *dbh; 361 p3MaskRow *object; 362 363 dbh = psDBInit("localhost", "test", NULL, "test"); 364 if (!dbh) { 365 exit(EXIT_FAILURE); 366 } 367 368 object = p3MaskRowAlloc("a string"); 369 if (!object) { 370 exit(EXIT_FAILURE); 371 } 372 373 if (!p3MaskInsertObject(dbh, object)) { 352 374 exit(EXIT_FAILURE); 353 375 }
Note:
See TracChangeset
for help on using the changeset viewer.
