Setting synchronous=0 on wrong schema #1842

pull/1857/head
René Cannaò 7 years ago
parent 953bbac09f
commit 450ed45c03

@ -1906,7 +1906,7 @@ void ProxySQL_Admin::flush_configdb() { // see #923
__attach_db(admindb, configdb, (char *)"disk");
// Fully synchronous is not required. See to #1055
// https://sqlite.org/pragma.html#pragma_synchronous
configdb->execute("PRAGMA disk.synchronous=0");
configdb->execute("PRAGMA synchronous=0");
wrunlock();
}

Loading…
Cancel
Save