Added comment

This commit is contained in:
M66B 2023-11-27 08:35:14 +01:00
parent 680b5e36f5
commit fa861cd9e7
1 changed files with 1 additions and 0 deletions

View File

@ -471,6 +471,7 @@ public abstract class DB extends RoomDatabase {
cursor.moveToNext(); // required
}
// https://www.sqlite.org/pragma.html#pragma_journal_size_limit
Log.i("Set PRAGMA journal_size_limit=" + DB_JOURNAL_SIZE_LIMIT);
try (Cursor cursor = db.query("PRAGMA journal_size_limit=" + DB_JOURNAL_SIZE_LIMIT + ";")) {
cursor.moveToNext(); // required