mirror of https://github.com/M66B/FairEmail.git
Small improvement
This commit is contained in:
parent
662d3a6c2e
commit
d24e641bcb
|
@ -483,7 +483,7 @@ public abstract class DB extends RoomDatabase {
|
||||||
if (cache_size != null) {
|
if (cache_size != null) {
|
||||||
cache_size = -cache_size; // kibibytes
|
cache_size = -cache_size; // kibibytes
|
||||||
Log.i("Set PRAGMA cache_size=" + cache_size);
|
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
|
cursor.moveToNext(); // required
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue