Skip to content

Commit c9f1faf

Browse files
author
Damir Sayfutdinov
committed
Update comment in test
1 parent 779224c commit c9f1faf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

connect_check_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ func Test_ConnCheck(t *testing.T) {
2424
)
2525

2626
if connect, err := sql.Open("clickhouse", "tcp://127.0.0.1:9000?debug=false"); assert.NoError(t, err) {
27-
// We could change settings only at session level.
28-
// If we have only 1 connection, we guarantee that we change settings for them.
27+
// We can only change the settings at the connection level.
28+
// If we have only one connection, we change the settings specifically for that connection.
2929
connect.SetMaxOpenConns(1)
3030
if _, err := connect.Exec("DROP TABLE IF EXISTS clickhouse_test_conncheck"); assert.NoError(t, err) {
3131
if _, err := connect.Exec(ddl); assert.NoError(t, err) {

0 commit comments

Comments
 (0)