a6f995eb45
* Move Updater structs to shared and use it for postgres * Add constructors for NewXXXUpdater and a useTxns flag In sqlite, we set useTxns=false and comment why. * Handle nil txn * Handle nil in transaction * Missed one * Close the txn at the right time * Don't close the transaction as we reuse it between calls |
||
---|---|---|
.. | ||
event_json_table.go | ||
event_state_keys_table.go | ||
event_types_table.go | ||
events_table.go | ||
invite_table.go | ||
membership_table.go | ||
previous_events_table.go | ||
room_aliases_table.go | ||
rooms_table.go | ||
state_block_table.go | ||
state_block_table_test.go | ||
state_snapshot_table.go | ||
storage.go | ||
transactions_table.go |