Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(pkg/server): add support of underscore in db name #1863

Merged

Conversation

martinjirku
Copy link
Contributor

@martinjirku martinjirku commented Nov 7, 2023

This should solve the #1770. This change introduces the support of an underscore in the database name.

  • pkg/server/server.go - adds an additional case to checking the character validation.
  • pkg/integration/database_creation_test.go#159 - a new test for db creation with a name containing the _
  • pkg/server/server_test.go#1892 - unit test which tests the underscore in the isValidDBName

Signed-off-by: Martin Jirku [email protected]

@jeroiraz jeroiraz self-requested a review November 8, 2023 11:49
Copy link
Contributor

@jeroiraz jeroiraz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @martinjirku !

@jeroiraz jeroiraz merged commit 6d18ba6 into codenotary:master Nov 8, 2023
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants