diff options
author | Erik Johnston <erik@matrix.org> | 2015-04-28 12:40:04 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-04-28 12:40:04 +0100 |
commit | af27b84ff769ceb9fe1aaa10c9435586be4c6867 (patch) | |
tree | 64ebdf61415da3fc4f5ab2e5cfc9a986fadf1e54 /scripts | |
parent | Correctly handle total/remaining counts in the presence of sent_transasctions... (diff) | |
download | synapse-af27b84ff769ceb9fe1aaa10c9435586be4c6867.tar.xz |
Correctly handle total/remaining counts in the presence of sent_transasctions table
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/port_from_sqlite_to_postgres.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/port_from_sqlite_to_postgres.py b/scripts/port_from_sqlite_to_postgres.py index 1e52d82fe0..a40a93ca76 100644 --- a/scripts/port_from_sqlite_to_postgres.py +++ b/scripts/port_from_sqlite_to_postgres.py @@ -454,7 +454,7 @@ class Porter(object): total_count = remaining_count + inserted_rows - defer.returnValue((next_chunk, remaining_count, total_count)) + defer.returnValue((next_chunk, inserted_rows, total_count)) @defer.inlineCallbacks def _get_remaining_count_to_port(self, table, next_chunk): |