mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-26 16:21:55 -06:00
Fix queries
This commit is contained in:
parent
435616b48f
commit
50518dc058
|
@ -137,7 +137,7 @@ const selectRoomNIDsForEventNIDsSQL = "" +
|
|||
"SELECT event_nid, room_nid FROM roomserver_events WHERE event_nid = ANY($1)"
|
||||
|
||||
const selectEventRejectedSQL = "" +
|
||||
"SELECT is_rejected FROM roomserver_Events WHERE event_id = $1"
|
||||
"SELECT is_rejected FROM roomserver_events WHERE event_id = $1"
|
||||
|
||||
type eventStatements struct {
|
||||
insertEventStmt *sql.Stmt
|
||||
|
|
|
@ -110,7 +110,7 @@ const selectRoomNIDsForEventNIDsSQL = "" +
|
|||
"SELECT event_nid, room_nid FROM roomserver_events WHERE event_nid IN ($1)"
|
||||
|
||||
const selectEventRejectedSQL = "" +
|
||||
"SELECT is_rejected FROM roomserver_Events WHERE event_id = $1"
|
||||
"SELECT is_rejected FROM roomserver_events WHERE event_id = $1"
|
||||
|
||||
type eventStatements struct {
|
||||
db *sql.DB
|
||||
|
|
Loading…
Reference in a new issue