mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 09:03:56 +02:00
Small improvement
This commit is contained in:
@@ -483,7 +483,7 @@ public abstract class DB extends RoomDatabase {
|
||||
if (cache_size != null) {
|
||||
cache_size = -cache_size; // kibibytes
|
||||
Log.i("Set PRAGMA cache_size=" + cache_size);
|
||||
try (Cursor cursor = db.query("PRAGMA cache_size=" + cache_size + ";")) {
|
||||
try (Cursor cursor = db.query(new SimpleSQLiteQuery("PRAGMA cache_size=" + cache_size + ";"))) {
|
||||
cursor.moveToNext(); // required
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user