-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
execute prepared statement with binary protocol will panic when table schema changed #33509
Labels
affects-4.0
This bug affects 4.0.x versions.
affects-5.0
This bug affects 5.0.x versions.
affects-5.1
This bug affects 5.1.x versions.
affects-5.2
This bug affects 5.2.x versions.
affects-5.3
This bug affects 5.3.x versions.
affects-5.4
This bug affects 5.4.x versions.
affects-6.0
severity/major
sig/sql-infra
SIG: SQL Infra
type/bug
The issue is confirmed as a bug.
type/regression
Comments
lcwangchao
added
type/bug
The issue is confirmed as a bug.
affects-4.0
This bug affects 4.0.x versions.
affects-5.0
This bug affects 5.0.x versions.
affects-5.1
This bug affects 5.1.x versions.
affects-5.2
This bug affects 5.2.x versions.
affects-5.3
This bug affects 5.3.x versions.
affects-5.4
This bug affects 5.4.x versions.
affects-6.0
sig/execution
SIG execution
severity/major
labels
Mar 28, 2022
Seems introduced by this PR: #12388 , and the below code: Lines 347 to 370 in 4ff3ec2
The columns will be cached in prepared statement, but if the table's schema changed, the cache will not be cleared |
9 tasks
ti-chi-bot
pushed a commit
that referenced
this issue
Mar 30, 2022
This was referenced Mar 30, 2022
ti-chi-bot
pushed a commit
that referenced
this issue
Apr 24, 2022
ti-chi-bot
pushed a commit
that referenced
this issue
May 6, 2022
This was referenced May 6, 2022
This was referenced May 6, 2022
ti-chi-bot
pushed a commit
that referenced
this issue
May 6, 2022
ti-chi-bot
pushed a commit
that referenced
this issue
Jun 15, 2022
zanmato1984
added
sig/sql-infra
SIG: SQL Infra
and removed
sig/execution
SIG execution
labels
Jun 21, 2022
/type regression |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-4.0
This bug affects 4.0.x versions.
affects-5.0
This bug affects 5.0.x versions.
affects-5.1
This bug affects 5.1.x versions.
affects-5.2
This bug affects 5.2.x versions.
affects-5.3
This bug affects 5.3.x versions.
affects-5.4
This bug affects 5.4.x versions.
affects-6.0
severity/major
sig/sql-infra
SIG: SQL Infra
type/bug
The issue is confirmed as a bug.
type/regression
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)
Got a panic in tidb side:
4. What is your TiDB version? (Required)
master
The text was updated successfully, but these errors were encountered: