mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-25 18:35:06 +01:00
Added pragma logging
This commit is contained in:
@@ -419,7 +419,8 @@ public abstract class DB extends RoomDatabase {
|
||||
"wal_checkpoint", "wal_autocheckpoint",
|
||||
"page_count", "page_size", "max_page_count", "freelist_count",
|
||||
"cache_size", "cache_spill",
|
||||
"soft_heap_limit", "hard_heap_limit", "mmap_size"})
|
||||
"soft_heap_limit", "hard_heap_limit", "mmap_size",
|
||||
"foreign_keys"})
|
||||
try (Cursor cursor = db.query("PRAGMA " + pragma + ";")) {
|
||||
Log.i("Get PRAGMA " + pragma + "=" + (cursor.moveToNext() ? cursor.getString(0) : "?"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user