This commit is contained in:
Neil Alexander 2020-08-28 15:11:16 +01:00
parent ec60c49d24
commit 7aaa1c605d
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
2 changed files with 0 additions and 6 deletions

View file

@ -74,9 +74,6 @@ const selectRoomVersionForRoomIDSQL = "" +
const selectRoomVersionForRoomNIDSQL = "" +
"SELECT room_version FROM roomserver_rooms WHERE room_nid = $1"
const selectStateSnapshotNIDSQL = "" +
"SELECT state_snapshot_nid FROM roomserver_rooms WHERE room_id = $1"
type roomStatements struct {
insertRoomNIDStmt *sql.Stmt
selectRoomNIDStmt *sql.Stmt

View file

@ -64,9 +64,6 @@ const selectRoomVersionForRoomIDSQL = "" +
const selectRoomVersionForRoomNIDSQL = "" +
"SELECT room_version FROM roomserver_rooms WHERE room_nid = $1"
const selectStateSnapshotNIDSQL = "" +
"SELECT state_snapshot_nid FROM roomserver_rooms WHERE room_id = $1"
type roomStatements struct {
db *sql.DB
insertRoomNIDStmt *sql.Stmt