mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 18:29:23 +02:00
non-exclusive transaction
This commit is contained in:
parent
0defdc0df3
commit
334a3a1871
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ public final class SQLiteBooksDatabase extends BooksDatabase {
|
|||
}
|
||||
|
||||
protected void executeAsATransaction(Runnable actions) {
|
||||
myDatabase.beginTransaction();
|
||||
myDatabase.beginTransactionNonExclusive();
|
||||
try {
|
||||
actions.run();
|
||||
myDatabase.setTransactionSuccessful();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue