Skip to content

Commit

Permalink
Update process_ycsb.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
badrishc authored Nov 23, 2020
1 parent c27e847 commit 58cbb5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cc/benchmark-dir/process_ycsb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ int main(int argc, char* argv[]) {

while (!from_file.eof()) {
char buffer[256];
from_file.clear();
from_file.getline(buffer, sizeof(buffer));
std::string line{ buffer };
std::string::size_type pos = line.find(prefix);
Expand Down

0 comments on commit 58cbb5e

Please sign in to comment.