* commit '46e5db9eb':
Update synapse/storage/data_stores/main/events_bg_updates.py
Update synapse/storage/data_stores/main/events_bg_updates.py
Copy results
Revert "Back to using cursor_to_dict"
Back to using cursor_to_dict
Initialise value before looping
Incorporate review
Fix field name
Update insert
Update changelog
Print out the actual number of affected rows
Correctly order results
TODO
Fix exit condition
Lint
Changelog
Don't try to process events we already have a label for
Use a sensible default value for labels
Use the right format for rows
MSC2326: Add background update to take previous events into account