Fix non integer limit

This commit is contained in:
Erik Johnston 2018-05-23 11:37:25 +01:00
parent 7e09f57a88
commit 516207a966
1 changed files with 2 additions and 1 deletions

View File

@ -757,7 +757,8 @@ class StreamWorkerStore(EventsWorkerStore, SQLBaseStore):
bounds += " AND " + filter_clause bounds += " AND " + filter_clause
args.extend(filter_args) args.extend(filter_args)
args.append(int(limit)) limit = int(limit)
args.append(limit)
sql = ( sql = (
"SELECT event_id, chunk_id, topological_ordering, stream_ordering" "SELECT event_id, chunk_id, topological_ordering, stream_ordering"