mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 13:25:52 +03:00
DB: More easy IO mode
We move the DB anyway at the end, no need to be so harsh
This commit is contained in:
parent
868f8029a2
commit
ea6caed5a3
1 changed files with 3 additions and 1 deletions
|
@ -253,7 +253,9 @@ int csync_statedb_load(CSYNC *ctx, const char *statedb) {
|
|||
}
|
||||
|
||||
/* optimization for speeding up SQLite */
|
||||
result = csync_statedb_query(ctx, "PRAGMA synchronous = FULL;");
|
||||
result = csync_statedb_query(ctx, "PRAGMA synchronous = OFF;");
|
||||
c_strlist_destroy(result);
|
||||
result = csync_statedb_query(ctx, "PRAGMA journal_mode = MEMORY;");
|
||||
c_strlist_destroy(result);
|
||||
result = csync_statedb_query(ctx, "PRAGMA case_sensitive_like = ON;");
|
||||
c_strlist_destroy(result);
|
||||
|
|
Loading…
Reference in a new issue