mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-04-11 14:23:39 +00:00
Convert back to pq.Int64Array
This commit is contained in:
parent
2d71273fdc
commit
42623e1f42
1 changed files with 4 additions and 0 deletions
|
@ -125,6 +125,10 @@ func UpStateBlocksRefactor(tx *sql.Tx) error {
|
||||||
events = append(events, types.EventNID(e))
|
events = append(events, types.EventNID(e))
|
||||||
}
|
}
|
||||||
events = events[:util.SortAndUnique(events)]
|
events = events[:util.SortAndUnique(events)]
|
||||||
|
eventsarray = eventsarray[:0]
|
||||||
|
for _, e := range events {
|
||||||
|
eventsarray = append(eventsarray, int64(e))
|
||||||
|
}
|
||||||
|
|
||||||
var blocknid types.StateBlockNID
|
var blocknid types.StateBlockNID
|
||||||
err = tx.QueryRow(`
|
err = tx.QueryRow(`
|
||||||
|
|
Loading…
Reference in a new issue