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

Allow system table to be set as default database #7150

Merged
merged 7 commits into from
Dec 10, 2020

Conversation

harshit-gangal
Copy link
Member

@harshit-gangal harshit-gangal commented Dec 10, 2020

Signed-off-by: Harshit Gangal [email protected]

Backport

NO

Status

READY

Description

This PR allows setting system schema as default database name on connect or with use statement.

Related Issue(s)

List related PRs against other branches:
Fixes #7146

Impacted Areas in Vitess

List general components of the application that this PR will affect:

  • Query Serving

@harshit-gangal harshit-gangal marked this pull request as ready for review December 10, 2020 15:29
require.NoError(err, "test expectation does not parse [%s]", tc.expected)

s := String(expected)
assert := assert.New(t)
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: meh... if you are using a single assertion, not much use creating this struct, is there?

Copy link
Collaborator

@systay systay left a comment

Choose a reason for hiding this comment

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

Really nice!

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.

Unknown database 'information_schema'
2 participants