2
0

Initial restructure of simple protocol to query exec mode

This commit is contained in:
Jack Christensen
2022-03-05 10:27:15 -06:00
parent 2885b039d5
commit aad3d65e16
9 changed files with 107 additions and 67 deletions
+1 -1
View File
@@ -803,7 +803,7 @@ func TestSendBatchSimpleProtocol(t *testing.T) {
t.Parallel()
config := mustParseConfig(t, os.Getenv("PGX_TEST_DATABASE"))
config.PreferSimpleProtocol = true
config.DefaultQueryExecMode = pgx.QueryExecModeSimpleProtocol
ctx, cancelFunc := context.WithCancel(context.Background())
defer cancelFunc()