Fix tests for x86 (#3214)

This commit is contained in:
Till 2023-09-28 14:50:31 +02:00 committed by GitHub
parent 1853f58cb4
commit 3d02c81031
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 7 additions and 7 deletions

View file

@ -134,7 +134,7 @@ func (s *membershipsStatements) SelectMembershipCount(
// string as the membership.
func (s *membershipsStatements) SelectMembershipForUser(
ctx context.Context, txn *sql.Tx, roomID, userID string, pos int64,
) (membership string, topologyPos int, err error) {
) (membership string, topologyPos int64, err error) {
stmt := sqlutil.TxStmt(txn, s.selectMembershipForUserStmt)
err = stmt.QueryRowContext(ctx, roomID, userID, pos).Scan(&membership, &topologyPos)
if err != nil {