Skip to content

Commit

Permalink
Merge branch 'main' into dependency-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethshackleton authored Jul 16, 2023
2 parents 93eae52 + 4a5d5e1 commit b1ee2e1
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,9 @@ private class SupportSQLiteDatabase constructor(
override fun inTransaction() = database.isTransactionOpenedByCurrentThread

override val isDatabaseIntegrityOk: Boolean
get() {
attachedDbs.forEach {
if (!database.integrityCheck(it.first)) {
return false
}
get() = !attachedDbs.any {
!database.integrityCheck(it.first)
}
return true
}

override val isDbLockedByCurrentThread: Boolean
get() = database.isConnectionHeldByCurrentThread
Expand Down

0 comments on commit b1ee2e1

Please sign in to comment.