Skip to content

Backport of USE and DATABASE() fix#6158

Merged
morgo merged 1 commit intovitessio:release-6.0from
planetscale:use-fix-backport
May 7, 2020
Merged

Backport of USE and DATABASE() fix#6158
morgo merged 1 commit intovitessio:release-6.0from
planetscale:use-fix-backport

Conversation

@systay
Copy link
Copy Markdown
Collaborator

@systay systay commented May 7, 2020

  • send use statement to vtgate instead of cominitdb method
  • database() returns targetstring rather than keyspace
  • remove cominitdb call with comquery with use statement
  • return unknown db message on mysql connect to vtgate

 - send use statement to vtgate instead of cominitdb method
 - database() returns targetstring rather than keyspace
 - remove cominitdb call with comquery with use statement
 - return unknown db message on mysql connect to vtgate

Signed-off-by: Harshit Gangal <harshit@planetscale.com>

Signed-off-by: Andres Taylor <andres@planetscale.com>
@systay systay requested a review from sougou as a code owner May 7, 2020 17:02
@systay systay requested a review from harshit-gangal May 7, 2020 17:03
Copy link
Copy Markdown
Member

@harshit-gangal harshit-gangal left a comment

Choose a reason for hiding this comment

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

Can be merged if all tests go green :)

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.

3 participants