Skip to content

Commit

Permalink
Fix Reset method
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelS239 committed Dec 19, 2023
1 parent 21b2713 commit c1b2e75
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/parser/csv_parser/csv_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ void CSVParser::Reset() {
if (has_header_) {
SkipLine();
}

/* For correctness of GetNextRow() after this method */
GetNextIfHas();
}

void CSVParser::GetLine(unsigned long long const line_index) {
Expand Down

0 comments on commit c1b2e75

Please sign in to comment.