From 450ed45c030d48bb316d7885788306c28145d530 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Mon, 7 Jan 2019 15:35:26 +0100 Subject: [PATCH] Setting synchronous=0 on wrong schema #1842 --- lib/ProxySQL_Admin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ProxySQL_Admin.cpp b/lib/ProxySQL_Admin.cpp index 1163e781b..3b0b47c81 100644 --- a/lib/ProxySQL_Admin.cpp +++ b/lib/ProxySQL_Admin.cpp @@ -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(); }