We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc2110a commit 0046c4bCopy full SHA for 0046c4b
CHANGELOG.md
@@ -1,3 +1,4 @@
1
+* Fixed config.WithDatabase behaviour with empty database in DSN string
2
* Added experimental method `query/Client.Execute` for execute query and read materialized result
3
4
## v3.69.0
internal/dsn/dsn_test.go
@@ -132,7 +132,7 @@ func TestParseConnectionStringEmptyDatabase(t *testing.T) {
132
}
133
c := config.New(config.WithDatabase("mydb"))
134
c = c.With(info.Options...)
135
- require.Equal(t, false, c.Secure())
+ require.False(t, c.Secure())
136
require.Equal(t, "ydb-ru.yandex.net:2135", c.Endpoint())
137
require.Equal(t, "mydb", c.Database())
138
0 commit comments