Migrate journal dbs files back to the sync folder
authorKevin Ottens <kevin.ottens@nextcloud.com>
Thu, 5 Nov 2020 16:18:13 +0000 (17:18 +0100)
committerKevin Ottens (Rebase PR Action) <er-vin@users.noreply.github.com>
Tue, 10 Nov 2020 17:46:43 +0000 (17:46 +0000)
commit4f7876f5202522f6f6934b472633f3a1058fd9c4
tree63303bf4e0cff8dad63d385fa9417672de7236a8
parent0b731eb516923962cd2ff92e0c3a616bff2eb147
Migrate journal dbs files back to the sync folder

In case of past collisions during the 3.0 times... well one will resync
from scratch unfortunately. But if that happened there are likely other
problems which occurred.

Also this might fix some of the bugs with people loosing settings from
the database. Indeed the -wal and -shm concatenations were wrong. Using
append was in fact changing the folderDefinition member which (I guess)
would potentially lead to funny ".db-wal-shm-wal-shm" names.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/gui/folderman.cpp