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

a little different in the field name with SHOW TABLES LIKE with MySQL and TiDB #35116

Closed
siddontang opened this issue Jun 1, 2022 · 2 comments · Fixed by #35136
Closed

a little different in the field name with SHOW TABLES LIKE with MySQL and TiDB #35116

siddontang opened this issue Jun 1, 2022 · 2 comments · Fixed by #35136
Assignees
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. type/enhancement The issue or PR belongs to an enhancement.

Comments

@siddontang
Copy link
Member

Enhancement

QUERY >	 SHOW TABLES LIKE 'apigw_routes'
TiDB  >
+-------------------+
| Tables_in_corteza |
+-------------------+
| apigw_routes      |
+-------------------+
MySQL >
+----------------------------------+
| Tables_in_corteza (apigw_routes) |
+----------------------------------+
| apigw_routes                     |
+----------------------------------+
@siddontang siddontang added type/enhancement The issue or PR belongs to an enhancement. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. labels Jun 1, 2022
@likzn
Copy link
Contributor

likzn commented Jun 2, 2022

And i find something else

  1. show databases ... like ... also have this issue
  2. If we do not use like , it will not append LikePattern name

Some ref in Mysql :https://github.com/mysql/mysql-server/blob/3e90d07c3578e4da39dc1bce73559bbdf655c28c/sql/dd/info_schema/show.cc#L537-L545

@likzn
Copy link
Contributor

likzn commented Jun 2, 2022

/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants