-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
affects-6.5This bug affects the 6.5.x(LTS) versions.This bug affects the 6.5.x(LTS) versions.affects-7.1This bug affects the 7.1.x(LTS) versions.This bug affects the 7.1.x(LTS) versions.severity/moderatesig/diagnosisSIG: DiagnosisSIG: Diagnosistype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
CREATE TABLE `t` (
`status` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
mysql> select * from t where t. status = 1;
ERROR 1054 (42S22): Unknown column '1' in 'where clause'
mysql> select * from t where t.status = 1;
Empty set (0.01 sec)
2. What did you expect to see? (Required)
No error.
3. What did you see instead (Required)
Error.
4. What is your TiDB version? (Required)
8acd5c8 and above.
Metadata
Metadata
Assignees
Labels
affects-6.5This bug affects the 6.5.x(LTS) versions.This bug affects the 6.5.x(LTS) versions.affects-7.1This bug affects the 7.1.x(LTS) versions.This bug affects the 7.1.x(LTS) versions.severity/moderatesig/diagnosisSIG: DiagnosisSIG: Diagnosistype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.