Skip to content

Commit

Permalink
Fix max column (#5636)
Browse files Browse the repository at this point in the history
* add sqlite compile options to increase column limit

* Fix CSV loader segfault

---------

Co-authored-by: Rens <example>
  • Loading branch information
RensDofferhoff authored Aug 5, 2024
1 parent b731e61 commit e20cba9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions Desktop/data/importers/csv/csv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ void CSV::determineNumRows()

if (i >= _utf8BufferEndPos - 1)
{
_utf8BufferEndPos = 0;
bool success = readUtf8();
if (success)
i = -1;
Expand Down
5 changes: 3 additions & 2 deletions conanfile.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jsoncpp/1.9.5
openssl/3.0.10
bison/3.7.6
brotli/1.0.9
sqlite3/3.38.5
sqlite3/3.46.0
gmp/6.3.0
mpfr/4.2.1

Expand All @@ -24,4 +24,5 @@ CMakeDeps
CMakeToolchain

[options]
brotli/:shared=True
brotli/:shared=True
sqlite3*:max_column=32767

0 comments on commit e20cba9

Please sign in to comment.