Skip to content
Permalink
Browse files
[Delimited provider] Increase buffer size to 10 MB to be able to read…
… huge WKT (fixes #43256)
  • Loading branch information
rouault authored and nyalldawson committed May 21, 2021
1 parent a9a4b7a commit 6b90c767ffcc68121bdd672028a38fb82aa3481b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/delimitedtext/qgsdelimitedtextfile.cpp
@@ -42,7 +42,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();
}


0 comments on commit 6b90c76

Please sign in to comment.