-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
ERROR 1054 (42S22): Unknown column '1' in 'where clause' #35031
Labels
affects-6.5
This bug affects the 6.5.x(LTS) versions.
affects-7.1
This bug affects the 7.1.x(LTS) versions.
severity/moderate
sig/diagnosis
SIG: Diagnosis
type/bug
The issue is confirmed as a bug.
Comments
|
#24854 is the pr which introduce this. @crazycs520 PTAL |
it related to the status is a reserved word, |
This is a parser problem, it seems that t. status = 1, will be parsed as "identifier ....", that make "1" as a column |
12 tasks
This was referenced Aug 22, 2023
ti-chi-bot
added
affects-6.5
This bug affects the 6.5.x(LTS) versions.
affects-7.1
This bug affects the 7.1.x(LTS) versions.
labels
Aug 23, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-6.5
This bug affects the 6.5.x(LTS) versions.
affects-7.1
This bug affects the 7.1.x(LTS) versions.
severity/moderate
sig/diagnosis
SIG: Diagnosis
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
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.
The text was updated successfully, but these errors were encountered: