Skip to content

Commit

Permalink
[Delimited provider] Increase buffer size to 10 MB to be able to read…
Browse files Browse the repository at this point in the history
… huge WKT (fixes qgis#43256)
  • Loading branch information
rouault committed May 21, 2021
1 parent 9f9d3a9 commit 233ea60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/delimitedtext/qgsdelimitedtextfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ QgsDelimitedTextFile::QgsDelimitedTextFile( const QString &url )

// For tests
QString bufferSizeStr( getenv( "QGIS_DELIMITED_TEXT_FILE_BUFFER_SIZE" ) );
mMaxBufferSize = bufferSizeStr.isEmpty() ? 1024 * 1024 : bufferSizeStr.toInt();
mMaxBufferSize = bufferSizeStr.isEmpty() ? 10 * 1024 * 1024 : bufferSizeStr.toInt();
}


Expand Down

0 comments on commit 233ea60

Please sign in to comment.