-
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
return wrong results when using plan-cache and dynamic-mode #33031
Comments
Slightly smaller test case:
My investigations so far indicates that the user variables is using the values from previous |
Change it to 'major' because dynamic pruning is experimental and disabled by default. |
I am able to reproduce this issue with binary protocol:
For the schema given by #33031 (comment), it gives:
|
Lowering the severity to moderate since the plan cache is disabled for dynamic prune mode by #33259. |
Help needed, I think the issue is that in |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
prepared-plan-cache.enabled = true
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: