aboutsummaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/benchmark_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmark/benchmark_test.go b/benchmark/benchmark_test.go
index c08361e..9c0c326 100644
--- a/benchmark/benchmark_test.go
+++ b/benchmark/benchmark_test.go
@@ -54,10 +54,10 @@ func BenchmarkSelect(b *testing.B) {
ID int `db:"id"`
Message string `db:"message"`
}
- query := `SELECT * FROM entries WHERE id < ` + strconv.Itoa(selectedRecordCount)
+ query := `SELECT * FROM entries WHERE id < ` + strconv.Itoa(selectedRecordCount) //nolint:gosec
selectWithOblast := func(b *testing.B) {
- records, err := oblast.Select[record](b.Context(), odb, query)
+ records, err := oblast.Select[record](odb, query)
if err != nil {
b.Error(err)
}