2
0

Rename some types and methods

This commit is contained in:
Jack Christensen
2019-01-05 18:01:57 -06:00
parent 379be3508b
commit 2c8971b382
6 changed files with 72 additions and 72 deletions
+2 -2
View File
@@ -76,7 +76,7 @@ func BenchmarkExecPrepared(b *testing.B) {
b.ResetTimer()
for i := 0; i < b.N; i++ {
result := conn.ExecPrepared(context.Background(), "ps1", nil, nil, nil).ReadAll()
result := conn.ExecPrepared(context.Background(), "ps1", nil, nil, nil).Read()
require.Nil(b, result.Err)
}
}
@@ -95,7 +95,7 @@ func BenchmarkExecPreparedPossibleToCancel(b *testing.B) {
b.ResetTimer()
for i := 0; i < b.N; i++ {
result := conn.ExecPrepared(ctx, "ps1", nil, nil, nil).ReadAll()
result := conn.ExecPrepared(ctx, "ps1", nil, nil, nil).Read()
require.Nil(b, result.Err)
}
}