Skip to content

Commit

Permalink
rebase and fix staticcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
methane committed Jun 15, 2023
1 parent 085a408 commit 23ca809
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2434,6 +2434,7 @@ func TestExecMultipleResults(t *testing.T) {
t.Fatalf("failed to connect: %v", err)
}
conn.Raw(func(conn interface{}) error {
//lint:ignore SA1019 this is a test
ex := conn.(driver.Execer)
res, err := ex.Exec(`
INSERT INTO test (value) VALUES ('a'), ('b');
Expand Down Expand Up @@ -2491,8 +2492,8 @@ func TestQueryMultipleResults(t *testing.T) {
t.Fatalf("failed to connect: %v", err)
}
conn.Raw(func(conn interface{}) error {
//lint:ignore SA1019 this is a test
qr := conn.(driver.Queryer)

c := conn.(*mysqlConn)

// Demonstrate that repeated queries reset the affectedRows
Expand Down

0 comments on commit 23ca809

Please sign in to comment.