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 #43256)
  • Loading branch information
rouault authored and nyalldawson committed May 21, 2021
1 parent a9a4b7a commit 6b90c76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/delimitedtext/qgsdelimitedtextfile.cpp
Expand Up @@ -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();
}


Expand Down

0 comments on commit 6b90c76

Please sign in to comment.