-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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 where clause in information schema with correct database name #6599
Comments
Support added via #6638 |
@harshit-gangal this is a (very) breaking change. |
@yborovikov can you explain why this is breaking change? Previously the query did not give any result. Now it is handled. |
sure: previously a query like |
Yes, this has changes in vtgate and vttablet. We will make this feature available in two step because now it depends on upgrade order of Vitess cluster. |
not sure how any sequencing of vitess upgrades can not break the customers that use queries like current client code has to prefix the namespace with the change itself is reasonable - customers shouldn't be aware of internal (to vitess and mysql) re/naming conventions. |
Overview of the Issue
The query sent down from VTGate to Vttablet does not replace the where clause of the information schema queries for table_schema = 'keyspace' to table_schema = 'databasename'
Reproduction Steps
Steps to reproduce this issue, example:
Deploy the following
vschema
:Run
Both the query returns empty result test
Binary version
master
Operating system and Environment details
Sprint boot application with mysql 8.0
The text was updated successfully, but these errors were encountered: