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

Implement 'SHOW DATABASES' statement #76

Closed
jjeffcaii opened this issue Mar 6, 2022 · 4 comments · Fixed by #127
Closed

Implement 'SHOW DATABASES' statement #76

jjeffcaii opened this issue Mar 6, 2022 · 4 comments · Fixed by #127
Assignees
Labels
enhancement New feature or request

Comments

@jjeffcaii
Copy link
Contributor

What would you like to be added:
The show databases statement should only list those databases in the same tenant.
Please see the official manual, https://dev.mysql.com/doc/refman/5.7/en/show-databases.html

Why is this needed:
The database in ARANA means 'logical database' instead of 'physical database', we need to handle it.

@jjeffcaii jjeffcaii added the enhancement New feature or request label Mar 6, 2022
@baerwang
Copy link
Contributor

baerwang commented Mar 6, 2022

assignees me,me try learn

@baerwang
Copy link
Contributor

Defined as row to return to the caller, database prefix 1 bytes from there take or generate ?

@baerwang
Copy link
Contributor

image

@baerwang
Copy link
Contributor

@jjeffcaii for help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants