Skip to content

Commit c554b13

Browse files
committed
opt/bench: add many-columns-and-indexes-e
Release note: None
1 parent 9015a1c commit c554b13

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

pkg/sql/opt/bench/bench_test.go

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,17 @@ var queries = [...]benchQuery{
522522
`,
523523
args: []interface{}{1, 2},
524524
},
525+
526+
// Similar to many-columns-and-indexes-a, but fetches all columns.
527+
{
528+
name: "many-columns-and-indexes-e",
529+
query: `
530+
SELECT * FROM k
531+
WHERE x = $1
532+
`,
533+
args: []interface{}{1},
534+
},
535+
525536
{
526537
name: "comp-pk",
527538
query: "SELECT * FROM comp WHERE a = $1 AND b = $2 AND c = $3 AND d = $4 AND e = $5",

0 commit comments

Comments
 (0)