database/sql: blank driver name #44467
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?Windows amd64
go env
OutputWhat did you do?
I can pass empty string as name to database/sql/driver Register function.
What did you expect to see?
While creating a new driver for database/sql package, in the Register function name parameter should not be blank.
What did you see instead?
It's accept empty name for driver.
The text was updated successfully, but these errors were encountered: