Changeset 16731 for trunk/ippdb/tests/insertobject.c
- Timestamp:
- Feb 28, 2008, 3:04:07 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/insertobject.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/insertobject.c
r16616 r16731 366 366 } 367 367 368 object = warpRunRowAlloc(-64, "a string", "a string", "a string", "a string", "a string", "a string", "a string", "0001-01-01T00:00:00Z");368 object = warpRunRowAlloc(-64, -64, "a string", "a string", "a string", "a string", "a string", "a string", "a string", "0001-01-01T00:00:00Z", true); 369 369 if (!object) { 370 370 exit(EXIT_FAILURE); … … 381 381 { 382 382 psDB *dbh; 383 warpInputExpRow *object;384 385 dbh = psDBInit("localhost", "test", NULL, "test");386 if (!dbh) {387 exit(EXIT_FAILURE);388 }389 390 object = warpInputExpRowAlloc(-64, -64, true);391 if (!object) {392 exit(EXIT_FAILURE);393 }394 395 if (!warpInputExpInsertObject(dbh, object)) {396 exit(EXIT_FAILURE);397 }398 399 psFree(object);400 psDBCleanup(dbh);401 }402 403 {404 psDB *dbh;405 383 warpSkyCellMapRow *object; 406 384 … … 1070 1048 } 1071 1049 1072 object = flatcorrRunRowAlloc(-64, "a string", "a string", "a string", "a string", "a string", "a string" );1050 object = flatcorrRunRowAlloc(-64, "a string", "a string", "a string", "a string", "a string", "a string", "a string"); 1073 1051 if (!object) { 1074 1052 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
