dendrite/roomserver/storage/sqlite3
Kegan Dougal 25e2f0f0ab sqlite: Fix UNIQUE violations and close more cursors
- Add missing `defer rows.Close()`
- Do not have the state block NID as a PRIMARY KEY else it breaks for blocks
  with >1 state event in them. Instead, rejig the queries so we can still
  have monotonically increasing integers without using AUTOINCREMENT (which
  mandates PRIMARY KEY).
2020-02-18 14:41:13 +00:00
..
event_json_table.go Support sqlite in addition to postgres (#869) 2020-02-13 17:27:33 +00:00
event_state_keys_table.go Support sqlite in addition to postgres (#869) 2020-02-13 17:27:33 +00:00
event_types_table.go Support sqlite in addition to postgres (#869) 2020-02-13 17:27:33 +00:00
events_table.go Support sqlite in addition to postgres (#869) 2020-02-13 17:27:33 +00:00
invite_table.go Support sqlite in addition to postgres (#869) 2020-02-13 17:27:33 +00:00
list.go Support sqlite in addition to postgres (#869) 2020-02-13 17:27:33 +00:00
membership_table.go Support sqlite in addition to postgres (#869) 2020-02-13 17:27:33 +00:00
prepare.go Support sqlite in addition to postgres (#869) 2020-02-13 17:27:33 +00:00
previous_events_table.go Support sqlite in addition to postgres (#869) 2020-02-13 17:27:33 +00:00
room_aliases_table.go sqlite: Fix UNIQUE violations and close more cursors 2020-02-18 14:41:13 +00:00
rooms_table.go Support sqlite in addition to postgres (#869) 2020-02-13 17:27:33 +00:00
sql.go Support sqlite in addition to postgres (#869) 2020-02-13 17:27:33 +00:00
state_block_table.go sqlite: Fix UNIQUE violations and close more cursors 2020-02-18 14:41:13 +00:00
state_block_table_test.go Support sqlite in addition to postgres (#869) 2020-02-13 17:27:33 +00:00
state_snapshot_table.go Support sqlite in addition to postgres (#869) 2020-02-13 17:27:33 +00:00
storage.go sqlite: Fix UNIQUE violations and close more cursors 2020-02-18 14:41:13 +00:00
transactions_table.go Support sqlite in addition to postgres (#869) 2020-02-13 17:27:33 +00:00