summary refs log tree commit diff
path: root/synapse/storage/__init__.py
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2015-03-11 17:19:17 +0000
committerPaul "LeoNerd" Evans <paul@matrix.org>2015-03-11 17:19:17 +0000
commit59a5f012ccaef5c255014efdbbb800ecfb73a2b7 (patch)
tree9576e6daeddaff614400f3b3e5afa78d00ad7dcd /synapse/storage/__init__.py
parentAdd a description to storage layer's _execute_and_decode() (diff)
downloadsynapse-59a5f012ccaef5c255014efdbbb800ecfb73a2b7.tar.xz
Also give _execute() a description
Diffstat (limited to 'synapse/storage/__init__.py')
-rw-r--r--synapse/storage/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py
index e3bf014d41..4b16f445d6 100644
--- a/synapse/storage/__init__.py
+++ b/synapse/storage/__init__.py
@@ -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