nextcloud-desktop/src
Christian Kamm 21cb93e3ce
SyncEngine: Don't close db when done #7141
The db-close operation is likely a leftover from when the SyncEngine
owned its own db connection and serves no purpose anymore.

Closing the db causes the removal of the temporary wal and shm files.
These files are recreated when the db is opened again, which happens
almost immediately.

This is a problem for winvfs because the delete-recreate step wipes the
exclusion state on these files just after the sync is done. That meant
that the db temporaries permanently had a "needs sync" icon marker shown
in the explorer.

Avoiding reopening the db also reduces the number of log messages per
sync.
2020-12-15 10:58:48 +01:00
..
3rdparty Sqlite: Update to 3.27.2 2020-12-15 10:58:46 +01:00
cmd Ensure local discovery on selective sync changes 2020-12-15 10:58:41 +01:00
common Sqlite: Use FULL synchronous mode with non-WAL journal 2020-12-15 10:58:48 +01:00
crashreporter Install libocsync to lib/ without subfolder. 2020-12-15 10:57:56 +01:00
csync Vfs: Clear up relationship between _type and pin state 2020-12-15 10:58:46 +01:00
gui Log: Start logging immediately when "permanent logs" enabled #7146 2020-12-15 10:58:48 +01:00
libsync SyncEngine: Don't close db when done #7141 2020-12-15 10:58:48 +01:00
CMakeLists.txt Build fix for mingw64 7.3 (Qt 5.12.0) 2020-12-15 10:58:37 +01:00