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

Fix for issue with information_schema queries with both table name and schema name predicates #8096

Merged
merged 2 commits into from
May 11, 2021

Conversation

systay
Copy link
Collaborator

@systay systay commented May 11, 2021

This is a backport of two related information schema PRs: #7841 and #8087

The bugfix we wanted to backport is in #8087, and it depends on #7841

GuptaManan100 and others added 2 commits May 11, 2021 09:54
Backport of vitessio#7841

* made sysTableTableSchema a slice and fixed merging for SelectDBA queries
* updated tests
* added tests
* changed error message

Signed-off-by: GuptaManan100 <manan@planetscale.com>

Signed-off-by: Andres Taylor <andres@planetscale.com>
Backport of vitessio#8087

This is a combination of 4 commits.

* add e2e test for system schema
* add unit test for system schema issue
* redirect to default route if not able to resolve the keyspace in case of information_schema query
* update test with new error message

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

Signed-off-by: Andres Taylor <andres@planetscale.com>
@systay systay merged commit 79e3069 into vitessio:release-9.0 May 11, 2021
@systay systay deleted the 9.0-inf-schema-backports branch May 11, 2021 08:55
@systay systay changed the title Information schema backports Fix for issue with information_schema queries with both table name and schema name predicates May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants