(b *testing.B)
| 50 | var benchmarkNewSQLResult string |
| 51 | |
| 52 | func BenchmarkSanitizeSQL(b *testing.B) { |
| 53 | b.ReportAllocs() |
| 54 | var err error |
| 55 | for b.Loop() { |
| 56 | benchmarkNewSQLResult, err = sanitize.SanitizeSQL(benchmarkQuery, benchmarkArgs...) |
| 57 | if err != nil { |
| 58 | b.Fatalf("failed to sanitize SQL: %v", err) |
| 59 | } |
| 60 | } |
| 61 | } |
nothing calls this directly
no test coverage detected