On the better-pristines branch: Fix unintended fallout from r1807225.
* subversion/libsvn_wc/upgrade.c
(svn_wc__upgrade_sdb): Install schema statistics with a savepoint, not
a transaction, as we did before r1807225.
@@ -2135,7 +2135,7 @@ svn_wc__upgrade_sdb(int *result_format,
start_format, target_format, scratch_pool));
/* Make sure that the stats1 table is populated. */
- SVN_SQLITE__WITH_TXN(
+ SVN_SQLITE__WITH_LOCK(
svn_wc__db_install_schema_statistics(sdb, scratch_pool),
sdb);
