Changeset 8665 for trunk/ippdb/tests/insert.c
- Timestamp:
- Aug 28, 2006, 6:44:34 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/insert.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/insert.c
r8543 r8665 298 298 } 299 299 300 if (!p2 DoneExpInsert(dbh, "a string", "a string", -32, -32)) {301 exit(EXIT_FAILURE); 302 } 303 304 psDBCleanup(dbh); 305 } 306 307 { 308 psDB *dbh; 309 310 dbh = psDBInit("localhost", "test", NULL, "test"); 311 if (!dbh) { 312 exit(EXIT_FAILURE); 313 } 314 315 if (!p2 DoneImfileInsert(dbh, "a string", "a string", "a string", "a string", -32, -32)) {316 exit(EXIT_FAILURE); 317 } 318 319 psDBCleanup(dbh); 320 } 321 322 { 323 psDB *dbh; 324 325 dbh = psDBInit("localhost", "test", NULL, "test"); 326 if (!dbh) { 327 exit(EXIT_FAILURE); 328 } 329 330 if (!p3PendingExpInsert(dbh, "a string", "a string",-32, -32)) {300 if (!p2ProcessedExpInsert(dbh, "a string", -32, -32)) { 301 exit(EXIT_FAILURE); 302 } 303 304 psDBCleanup(dbh); 305 } 306 307 { 308 psDB *dbh; 309 310 dbh = psDBInit("localhost", "test", NULL, "test"); 311 if (!dbh) { 312 exit(EXIT_FAILURE); 313 } 314 315 if (!p2ProcessedImfileInsert(dbh, "a string", "a string", "a string", "a string", 64.64, 64.64, 64.64, "a string", "a string", -32, -32)) { 316 exit(EXIT_FAILURE); 317 } 318 319 psDBCleanup(dbh); 320 } 321 322 { 323 psDB *dbh; 324 325 dbh = psDBInit("localhost", "test", NULL, "test"); 326 if (!dbh) { 327 exit(EXIT_FAILURE); 328 } 329 330 if (!p3PendingExpInsert(dbh, "a string", -32, -32)) { 331 331 exit(EXIT_FAILURE); 332 332 }
Note:
See TracChangeset
for help on using the changeset viewer.
