The conditional query of the information_schema meta data table is case-sensitive
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## 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 |
+-------------------------------------+
Contributor guide
Assessment
This issue has not been assessed yet.