mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-09-23 04:44:36 -04:00
Also give _execute() a description
This commit is contained in:
parent
099e4b88d8
commit
59a5f012cc
6 changed files with 10 additions and 12 deletions
|
@ -495,8 +495,7 @@ class DataStore(RoomMemberStore, RoomStore,
|
|||
@defer.inlineCallbacks
|
||||
def _get_min_token(self):
|
||||
row = yield self._execute(
|
||||
None,
|
||||
"SELECT MIN(stream_ordering) FROM events"
|
||||
"_get_min_token", None, "SELECT MIN(stream_ordering) FROM events"
|
||||
)
|
||||
|
||||
self.min_token = row[0][0] if row and row[0] and row[0][0] else -1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue