mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-31 19:41:19 +00:00
Changed pragma's
This commit is contained in:
parent
1a93794892
commit
1acb546cb1
1 changed files with 2 additions and 2 deletions
|
@ -283,10 +283,10 @@ public abstract class DB extends RoomDatabase {
|
|||
|
||||
// https://www.sqlite.org/pragma.html
|
||||
for (String pragma : new String[]{
|
||||
"journal_mode", "journal_size_limit",
|
||||
"synchronous", "journal_mode",
|
||||
"wal_checkpoint", "wal_autocheckpoint",
|
||||
"page_count", "page_size",
|
||||
"default_cache_size", "cache_size"})
|
||||
"cache_size"})
|
||||
try (Cursor cursor = db.query("PRAGMA " + pragma + ";")) {
|
||||
Log.i("Get PRAGMA " + pragma + "=" + (cursor.moveToNext() ? cursor.getString(0) : "?"));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue