Remove explicit indexed by statement from approximate exportable message count.
This commit is contained in:
parent
6d5be0b445
commit
a577018d03
1 changed files with 1 additions and 1 deletions
|
@ -1816,7 +1816,7 @@ open class MessageTable(context: Context?, databaseHelper: SignalDatabase) : Dat
|
|||
val queries = SqlUtil.buildCollectionQuery(THREAD_ID, threadIds)
|
||||
return queries.sumOf {
|
||||
readableDatabase.count()
|
||||
.from("$TABLE_NAME INDEXED BY $INDEX_THREAD_COUNT")
|
||||
.from(TABLE_NAME)
|
||||
.where(it.where, it.whereArgs)
|
||||
.run()
|
||||
.readToSingleLong(0L)
|
||||
|
|
Loading…
Add table
Reference in a new issue