Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/topic/robin/fix-files'
Browse files Browse the repository at this point in the history
* origin/topic/robin/fix-files:
  Fix column type in `files_lines` table.
  • Loading branch information
rsmmr committed Mar 4, 2022
2 parents c9425e6 + fd4a6bc commit 9568f79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tables/files/files.posix.cc
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ std::vector<std::vector<Value>> FilesLinesPosix::snapshot(const std::vector<tabl
std::string content;
// TODO: We should use a version of getline() that can abort at a given max-size.
while ( std::getline(in, content) )
rows.push_back({pattern, p, ++number, trim(content)});
rows.push_back({pattern, p.native(), ++number, trim(content)});

in.close();
}
Expand Down

0 comments on commit 9568f79

Please sign in to comment.