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

【bug】1.6.76版本,information_schema.TABLES union all information_schema.COLUMNS报找不到表错误 #2510

Closed
funnyAnt opened this issue Jun 15, 2020 · 0 comments

Comments

@funnyAnt
Copy link
Collaborator

需求来源:

mysql 8.19客户端会发送,{SELECT COUNT() FROM information_schema.TABLES WHERE TABLE_SCHEMA = 'xxx' UNION SELECT COUNT() FROM information_schema.COLUMNS WHERE TABLE_SCHEMA = 'xxx' UNION SELECT COUNT(*) FROM information_schema.ROUTINES WHERE ROUTINE_SCHEMA = 'xxx' }语句,mycat报找不到表错误

方案

完善路由代码,增加对 information_schema.TABLES union all语句的支持

@funnyAnt funnyAnt changed the title 【bug】1.6.7.4版本,nformation_schema.TABLES union all information_schema.COLUMNS报找不到表错误 【bug】1.6.76版本,nformation_schema.TABLES union all information_schema.COLUMNS报找不到表错误 Jun 15, 2020
@funnyAnt funnyAnt changed the title 【bug】1.6.76版本,nformation_schema.TABLES union all information_schema.COLUMNS报找不到表错误 【bug】1.6.76版本,information_schema.TABLES union all information_schema.COLUMNS报找不到表错误 Jun 15, 2020
junwen12221 added a commit that referenced this issue Jun 16, 2020
#2510 information_schema.TABLES union all information_schema.COLUMNS报…
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

No branches or pull requests

1 participant