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

Duplicate information_schema #2976

Closed
waynexia opened this issue Dec 22, 2023 · 0 comments · Fixed by #2979
Closed

Duplicate information_schema #2976

waynexia opened this issue Dec 22, 2023 · 0 comments · Fixed by #2979
Assignees

Comments

@waynexia
Copy link
Member

waynexia commented Dec 22, 2023

What type of bug is this?

Unexpected error

What subsystems are affected?

Standalone mode, Frontend, Datanode

Minimal reproduce step

MySQL [(none)]> show schemas;
+--------------------+
| Schemas            |
+--------------------+
| information_schema |
| public             |
+--------------------+
2 rows in set (0.002 sec)

MySQL [(none)]> create schema information_schema;
Query OK, 1 row affected (0.000 sec)

MySQL [(none)]> show schemas;
+--------------------+
| Schemas            |
+--------------------+
| information_schema |
| information_schema |
| public             |
+--------------------+
3 rows in set (0.000 sec)

@Taylor-lagrange found this in #2928 (comment)

What did you expect to see?

Cannot create a schema named information_schema since there is one

What did you see instead?

two duplicate information_schemas

What operating system did you use?

Doesn't matter

Relevant log output and stack trace

No response

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

Successfully merging a pull request may close this issue.

2 participants