/[Apache-SVN]
ViewVC logotype

Revision 1659426


Jump to revision: Previous Next
Author: ivan
Date: Thu Feb 12 22:42:35 2015 UTC (9 years, 9 months ago)
Changed paths: 1
Log Message:
Use journal_mode = TRUNCATE for sqlite [1] instead of default DELETE value. 
It makes svn checkout about 10% faster on Windows at expense of one empty 
file in .svn. Create/delete file is relatively expensive operation on 
Windows, especially if indexes/virus scanners are enabled.

The TRUNCATE and DELETE journal modes are compatible, so different
Subversion clients with different journal mode should just work with same 
working copy without problems.

[1] http://www.sqlite.org/pragma.html#pragma_journal_mode

* subversion/libsvn_subr/sqlite.c
  (svn_sqlite__open): Execute PRAGMA journal_mode = TRUNCATE when opening 
   sqlite database.


Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_subr/sqlite.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26