mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-07 06:53:09 -06:00
Fix rollback
This commit is contained in:
parent
d1baa305ae
commit
e8f26cdedf
|
|
@ -74,7 +74,7 @@ func (u *RoomUpdater) Rollback() error {
|
|||
if u.txn == nil { // SQLite mode probably
|
||||
return nil
|
||||
}
|
||||
return u.txn.Commit()
|
||||
return u.txn.Rollback()
|
||||
}
|
||||
|
||||
// RoomVersion implements types.RoomRecentEventsUpdater
|
||||
|
|
|
|||
Loading…
Reference in a new issue