tidb icon indicating copy to clipboard operation
tidb copied to clipboard

The conditional query of the information_schema meta data table is case-sensitive

Open hanbinbin731 opened this issue 10 months ago • 0 comments

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

use test; create table test (a int primary key); insert into test values(1); analyze table test; select table_name from information_schema.statistics where table_schema='test' and COLUMN_NAME='A';

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

+------------+ | table_name | +------------+ | test | +------------+ 1 row in set (0.00 sec)

3. What did you see instead (Required)

Empty set (0.00 sec)

4. What is your TiDB version? (Required)

+-------------------------------------+ | version() | +-------------------------------------+ | 5.7.25-TiDB-v6.5.5-20240316-8ea3cb6 | +-------------------------------------+

hanbinbin731 avatar Apr 22 '24 08:04 hanbinbin731