/[Apache-SVN]
ViewVC logotype

Revision 1906768


Jump to revision: Previous Next
Author: kotkov
Date: Wed Jan 18 12:55:44 2023 UTC (17 months, 1 week ago)
Changed paths: 2
Log Message:
When upgrading a working copy to format 32, ensure that we always have the
corresponding rows in the SETTINGS table.

Before this change, we treated an absent row as having the "old" settings
when making a query.  Let's instead change the upgrade routine so that the
row is always present — so that both newly created and upgraded working
copies would have the same entries in the SETTINGS table.

* subversion/libsvn_wc/wc-metadata.sql
  (STMT_UPGRADE_TO_32): Populate the SETTINGS table.

* subversion/libsvn_wc/wc_db_wcroot.c
  (read_settings): Expect the query to return a single row.


Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_wc/wc-metadata.sql modified , text changed
Directorysubversion/trunk/subversion/libsvn_wc/wc_db_wcroot.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26