When compiling SQLite, enable the SQLITE_OMIT_WAL compile-time option.
commitfc3e925a630845ec4861da0d4a89259af99bdba5
authorEvgeny Kotkov <kotkov@apache.org>
Tue, 20 Aug 2019 09:23:55 +0000 (20 09:23 +0000)
committerEvgeny Kotkov <kotkov@apache.org>
Tue, 20 Aug 2019 09:23:55 +0000 (20 09:23 +0000)
treebf461cf50454a32199cfd6c48e82c916583ed1cd
parentae8ad71f9df42bdecc938ae949c1f6f592075b96
When compiling SQLite, enable the SQLITE_OMIT_WAL compile-time option.

We don't use WAL (write-ahead logging) feature of SQLite, but just keeping it
enabled has a visible I/O performance penalty, because SQLite has to check if
the write-ahead log file is present on disk.  In a couple of my experiments,
disabling this feature resulted in a ~10% faster `svn st` on a large working
copy.

* subversion/libsvn_subr/sqlite3wrapper.c
  (): Define SQLITE_OMIT_WAL.

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1865523 13f79535-47bb-0310-9956-ffa450edef68
subversion/libsvn_subr/sqlite3wrapper.c