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

information_schema.tables return wrong result #55221

Closed
tangenta opened this issue Aug 6, 2024 · 1 comment · Fixed by #55222
Closed

information_schema.tables return wrong result #55221

tangenta opened this issue Aug 6, 2024 · 1 comment · Fixed by #55222
Assignees
Labels
component/ddl This issue is related to DDL of TiDB. feature/developing the related feature is in development impact/wrong-result severity/major type/bug The issue is confirmed as a bug.

Comments

@tangenta
Copy link
Contributor

tangenta commented Aug 6, 2024

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

create database test1;
create database test2;
create table test1.t (a int);
create table test2.t (a int);

select table_schema, table_name, tidb_table_id from information_schema.tables where tidb_table_id = 108;

2. What did you expect to see? (Required)

There should be one row.

3. What did you see instead (Required)

Two rows with same table ID but different schema names.

4. What is your TiDB version? (Required)

1985662

@tangenta tangenta added the type/bug The issue is confirmed as a bug. label Aug 6, 2024
@tangenta tangenta self-assigned this Aug 6, 2024
@tangenta tangenta added the feature/developing the related feature is in development label Aug 6, 2024
@tangenta
Copy link
Contributor Author

tangenta commented Aug 6, 2024

Introduced by #55144

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/ddl This issue is related to DDL of TiDB. feature/developing the related feature is in development impact/wrong-result severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants