Ticket #35355: patch-bin-dumprecs-cpp.diff

File patch-bin-dumprecs-cpp.diff, 472 bytes (added by gregori.emiliano@…, 12 years ago)
  • bin/dumprecs.cpp

    old new  
    8484    }
    8585
    8686    std::cout << "Processing file sequentially from beginning..." << std::endl;
    87     int i = 0;
    88     while(i<MyFile.NoOfRecords()){
    89       rc = MyFile.DumpRecord(++i);
     87    int j = 0;
     88    while(j<MyFile.NoOfRecords()){
     89      rc = MyFile.DumpRecord(++j);
    9090      if( rc != XB_NO_ERROR )
    9191        x.DisplayError( rc );
    9292    }