Changeset 8094 for branches/jhoblitt/ippdb/tests/pop.c
- Timestamp:
- Aug 2, 2006, 4:55:32 PM (20 years ago)
- File:
-
- 1 edited
-
branches/jhoblitt/ippdb/tests/pop.c (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/jhoblitt/ippdb/tests/pop.c
r8089 r8094 409 409 char class_id[256]; 410 410 char uri[256]; 411 char stats[256];412 411 char recipe[256]; 413 412 psS32 p1_version; … … 419 418 } 420 419 421 if (!p2PendingImfilePop(dbh, (char **)&exp_id, (char **)&class_id, (char **)&uri, (char **)& stats, (char **)&recipe, &p1_version, &p2_version)) {420 if (!p2PendingImfilePop(dbh, (char **)&exp_id, (char **)&class_id, (char **)&uri, (char **)&recipe, &p1_version, &p2_version)) { 422 421 exit(EXIT_FAILURE); 423 422 } … … 460 459 char class_id[256]; 461 460 char uri[256]; 462 char stats[256];463 461 char recipe[256]; 464 462 psS32 p1_version; … … 470 468 } 471 469 472 if (!p2DoneImfilePop(dbh, (char **)&exp_id, (char **)&class_id, (char **)&uri, (char **)& stats, (char **)&recipe, &p1_version, &p2_version)) {470 if (!p2DoneImfilePop(dbh, (char **)&exp_id, (char **)&class_id, (char **)&uri, (char **)&recipe, &p1_version, &p2_version)) { 473 471 exit(EXIT_FAILURE); 474 472 } … … 556 554 char class_id[256]; 557 555 char uri[256]; 558 char stats[256]; 559 char recipe[256]; 560 561 dbh = psDBInit("localhost", "test", NULL, "test"); 562 if (!dbh) { 563 exit(EXIT_FAILURE); 564 } 565 566 if (!detProcessedImfilePop(dbh, &det_id, (char **)&exp_id, (char **)&class_id, (char **)&uri, (char **)&stats, (char **)&recipe)) { 556 char recipe[256]; 557 558 dbh = psDBInit("localhost", "test", NULL, "test"); 559 if (!dbh) { 560 exit(EXIT_FAILURE); 561 } 562 563 if (!detProcessedImfilePop(dbh, &det_id, (char **)&exp_id, (char **)&class_id, (char **)&uri, (char **)&recipe)) { 567 564 exit(EXIT_FAILURE); 568 565 } … … 577 574 char class_id[256]; 578 575 char uri[256]; 579 char stats[256]; 580 char recipe[256]; 581 582 dbh = psDBInit("localhost", "test", NULL, "test"); 583 if (!dbh) { 584 exit(EXIT_FAILURE); 585 } 586 587 if (!detStackedImfilePop(dbh, &det_id, &iteration, (char **)&class_id, (char **)&uri, (char **)&stats, (char **)&recipe)) { 576 char recipe[256]; 577 578 dbh = psDBInit("localhost", "test", NULL, "test"); 579 if (!dbh) { 580 exit(EXIT_FAILURE); 581 } 582 583 if (!detStackedImfilePop(dbh, &det_id, &iteration, (char **)&class_id, (char **)&uri, (char **)&recipe)) { 588 584 exit(EXIT_FAILURE); 589 585 } … … 598 594 char class_id[256]; 599 595 char uri[256]; 600 char stats[256]; 601 char recipe[256]; 602 603 dbh = psDBInit("localhost", "test", NULL, "test"); 604 if (!dbh) { 605 exit(EXIT_FAILURE); 606 } 607 608 if (!detNormalizedImfilePop(dbh, &det_id, &iteration, (char **)&class_id, (char **)&uri, (char **)&stats, (char **)&recipe)) { 596 char recipe[256]; 597 598 dbh = psDBInit("localhost", "test", NULL, "test"); 599 if (!dbh) { 600 exit(EXIT_FAILURE); 601 } 602 603 if (!detNormalizedImfilePop(dbh, &det_id, &iteration, (char **)&class_id, (char **)&uri, (char **)&recipe)) { 609 604 exit(EXIT_FAILURE); 610 605 } … … 636 631 char class_id[256]; 637 632 char uri[256]; 638 char stats[256]; 639 char recipe[256]; 640 641 dbh = psDBInit("localhost", "test", NULL, "test"); 642 if (!dbh) { 643 exit(EXIT_FAILURE); 644 } 645 646 if (!detMasterImfilePop(dbh, &det_id, (char **)&class_id, (char **)&uri, (char **)&stats, (char **)&recipe)) { 633 char recipe[256]; 634 635 dbh = psDBInit("localhost", "test", NULL, "test"); 636 if (!dbh) { 637 exit(EXIT_FAILURE); 638 } 639 640 if (!detMasterImfilePop(dbh, &det_id, (char **)&class_id, (char **)&uri, (char **)&recipe)) { 647 641 exit(EXIT_FAILURE); 648 642 } … … 657 651 char exp_id[256]; 658 652 char class_id[256]; 659 char stats[256]; 660 char recipe[256]; 661 662 dbh = psDBInit("localhost", "test", NULL, "test"); 663 if (!dbh) { 664 exit(EXIT_FAILURE); 665 } 666 667 if (!detResidImfileAnalysisPop(dbh, &det_id, &iteration, (char **)&exp_id, (char **)&class_id, (char **)&stats, (char **)&recipe)) { 653 char recipe[256]; 654 655 dbh = psDBInit("localhost", "test", NULL, "test"); 656 if (!dbh) { 657 exit(EXIT_FAILURE); 658 } 659 660 if (!detResidImfileAnalysisPop(dbh, &det_id, &iteration, (char **)&exp_id, (char **)&class_id, (char **)&recipe)) { 668 661 exit(EXIT_FAILURE); 669 662 } … … 677 670 psS32 iteration; 678 671 char exp_id[256]; 679 char stats[256];680 672 char recipe[256]; 681 673 bool accept; … … 686 678 } 687 679 688 if (!detResidExpAnalysisPop(dbh, &det_id, &iteration, (char **)&exp_id, (char **)& stats, (char **)&recipe, &accept)) {680 if (!detResidExpAnalysisPop(dbh, &det_id, &iteration, (char **)&exp_id, (char **)&recipe, &accept)) { 689 681 exit(EXIT_FAILURE); 690 682 }
Note:
See TracChangeset
for help on using the changeset viewer.
