Skip to content

Commit

Permalink
roachtest: replace ordinal column reference in transfer-leases
Browse files Browse the repository at this point in the history
This commit fixes a broken roachtest caused by cockroachdb#93754.

Fixes cockroachdb#94058

Release note: None
  • Loading branch information
mgartner authored and adityamaru committed Dec 22, 2022
1 parent 2994ee8 commit 0d68533
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/roachtest/tests/quit.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func (q *quitTest) createRanges(ctx context.Context) {
db := q.c.Conn(ctx, q.t.L(), 1)
defer db.Close()
if _, err := db.ExecContext(ctx, fmt.Sprintf(`
CREATE TABLE t(x, y, PRIMARY KEY(x)) AS SELECT @1, 1 FROM generate_series(1,%[1]d)`,
CREATE TABLE t(x, y, PRIMARY KEY(x)) AS SELECT i, 1 FROM generate_series(1,%[1]d) g(i)`,
numRanges)); err != nil {
q.Fatal(err)
}
Expand Down

0 comments on commit 0d68533

Please sign in to comment.