Skip to content

Commit

Permalink
Setting synchronous=0 on wrong schema #1842
Browse files Browse the repository at this point in the history
  • Loading branch information
renecannao committed Jan 7, 2019
1 parent 953bbac commit 450ed45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ProxySQL_Admin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 450ed45

Please sign in to comment.