diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2021-05-24 14:03:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-24 14:03:00 +0100 |
commit | daca7b2794fb86514dc01de551bb0e5db77cf914 (patch) | |
tree | bf6e01d5a93df39c678d3ae3f7ef22adbafbb0d0 /scripts | |
parent | Remove `keylen` from `LruCache`. (#9993) (diff) | |
download | synapse-daca7b2794fb86514dc01de551bb0e5db77cf914.tar.xz |
Fix off-by-one-error in synapse_port_db (#9991)
fixes #9979
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/synapse_port_db | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/synapse_port_db b/scripts/synapse_port_db index 7c7645c05a..86eb76cbca 100755 --- a/scripts/synapse_port_db +++ b/scripts/synapse_port_db @@ -959,7 +959,7 @@ class Porter(object): def r(txn): txn.execute( "ALTER SEQUENCE event_auth_chain_id RESTART WITH %s", - (curr_chain_id,), + (curr_chain_id + 1,), ) if curr_chain_id is not None: |