Skip to content

Wrong detection of must-be-delimited user names #7106

@aafemt

Description

@aafemt

The routine which uppercase user name during attachDatabase etc doesn't strictly follow rules for SQL identifiers when detect user names that should be delimited. As the result user with names like test-user cannot connect without proper delimiting them.
Also it silently ignores delimiting errors trimming the rest of string. For example "abc"def is transformed to abc.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions