From 18f51eba795f70c35faa2c6767bfda72213e8aae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Fri, 15 Jun 2018 11:16:27 +0300 Subject: [PATCH] Disable SQLite journal The SQLite journal is not needed since the databases are created in-memory and are thread-specific. --- server/modules/authenticator/MySQLAuth/mysql_auth.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/authenticator/MySQLAuth/mysql_auth.h b/server/modules/authenticator/MySQLAuth/mysql_auth.h index a4adac022..73c3304e5 100644 --- a/server/modules/authenticator/MySQLAuth/mysql_auth.h +++ b/server/modules/authenticator/MySQLAuth/mysql_auth.h @@ -58,7 +58,7 @@ static const char databases_create_sql[] = "CREATE TABLE IF NOT EXISTS " MYSQLAUTH_DATABASES_TABLE_NAME "(db varchar(255))"; /** PRAGMA configuration options for SQLite */ -static const char pragma_sql[] = "PRAGMA JOURNAL_MODE=MEMORY"; +static const char pragma_sql[] = "PRAGMA JOURNAL_MODE=NONE"; /** Query that checks if there's a grant for the user being authenticated */ static const char mysqlauth_validate_user_query[] =