Disable SQLite journal

The SQLite journal is not needed since the databases are created in-memory
and are thread-specific.
This commit is contained in:
Markus Mäkelä 2018-06-15 11:16:27 +03:00
parent 37139dfe69
commit 18f51eba79
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -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[] =