| 74 | } |
| 75 | |
| 76 | static Status InsertRowsFromReferenceFile( |
| 77 | ReferenceRowsMap& cache, TupleTextFileReader* reader, int64_t* row_count) { |
| 78 | TupleCacheRowFunction insert_fn = [&cache](const string& str) { |
| 79 | cache[str].reference_rows_count++; |
| 80 | return Status::OK(); |
| 81 | }; |
| 82 | return ForEachRow(reader, insert_fn, row_count); |
| 83 | } |
| 84 | |
| 85 | static Status VerifyRowCount(ReferenceRowsMap& cache) { |
| 86 | for (const auto& it : cache) { |
no test coverage detected