forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
69832: workload: fix `simple` method for queries r=otan a=rafiss fixes cockroachdb#69678 The previous attempt to add this forgot to unpack the original args. Another way to do this is ``` append([]interface{true}, args...)... ``` but that has more allocations. The approach in this commit is based on https://github.com/golang/go/wiki/SliceTricks Release justification: test-only change Release note: None Co-authored-by: Rafi Shamim <rafi@cockroachlabs.com>
- Loading branch information
Showing
2 changed files
with
17 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters