Changeset 8026 for branches/jhoblitt/ippdb/tests/pop.c
- Timestamp:
- Jul 31, 2006, 4:12:32 PM (20 years ago)
- File:
-
- 1 edited
-
branches/jhoblitt/ippdb/tests/pop.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/jhoblitt/ippdb/tests/pop.c
r8020 r8026 221 221 psS32 bytes; 222 222 char md5sum[256]; 223 char class_id[256]; 224 char uri[256]; 225 226 dbh = psDBInit("localhost", "test", NULL, "test"); 227 if (!dbh) { 228 exit(EXIT_FAILURE); 229 } 230 231 if (!pzPendingImfilePop(dbh, (char **)&exp_id, &bytes, (char **)&md5sum, (char **)&class_id, (char **)&uri)) { 223 char class[256]; 224 char class_id[256]; 225 char uri[256]; 226 227 dbh = psDBInit("localhost", "test", NULL, "test"); 228 if (!dbh) { 229 exit(EXIT_FAILURE); 230 } 231 232 if (!pzPendingImfilePop(dbh, (char **)&exp_id, &bytes, (char **)&md5sum, (char **)&class, (char **)&class_id, (char **)&uri)) { 232 233 exit(EXIT_FAILURE); 233 234 } … … 259 260 psDB *dbh; 260 261 char exp_id[256]; 261 char class_id[256]; 262 char uri[256]; 263 264 dbh = psDBInit("localhost", "test", NULL, "test"); 265 if (!dbh) { 266 exit(EXIT_FAILURE); 267 } 268 269 if (!newImfilePop(dbh, (char **)&exp_id, (char **)&class_id, (char **)&uri)) { 262 char class[256]; 263 char class_id[256]; 264 char uri[256]; 265 266 dbh = psDBInit("localhost", "test", NULL, "test"); 267 if (!dbh) { 268 exit(EXIT_FAILURE); 269 } 270 271 if (!newImfilePop(dbh, (char **)&exp_id, (char **)&class, (char **)&class_id, (char **)&uri)) { 270 272 exit(EXIT_FAILURE); 271 273 } … … 321 323 psDB *dbh; 322 324 char exp_id[256]; 323 char class_id[256]; 324 char uri[256]; 325 char stats[256]; 326 327 dbh = psDBInit("localhost", "test", NULL, "test"); 328 if (!dbh) { 329 exit(EXIT_FAILURE); 330 } 331 332 if (!rawImfilePop(dbh, (char **)&exp_id, (char **)&class_id, (char **)&uri, (char **)&stats)) { 325 char class[256]; 326 char class_id[256]; 327 char uri[256]; 328 char stats[256]; 329 330 dbh = psDBInit("localhost", "test", NULL, "test"); 331 if (!dbh) { 332 exit(EXIT_FAILURE); 333 } 334 335 if (!rawImfilePop(dbh, (char **)&exp_id, (char **)&class, (char **)&class_id, (char **)&uri, (char **)&stats)) { 333 336 exit(EXIT_FAILURE); 334 337 }
Note:
See TracChangeset
for help on using the changeset viewer.
