We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please answer these questions before submitting your issue. Thanks!
The bug can be reproduced by executing following SQLs.
use test; drop table t; create table t(a int); Prepare stmt from "select * from t"; execute stmt; select EXEC_COUNT,plan_cache_hits, plan_in_cache from information_schema.statements_summary where digest_text='select * from t'; execute stmt; select EXEC_COUNT,plan_cache_hits, plan_in_cache from information_schema.statements_summary where digest_text='select * from t'; prepare stmt from "select * from t"; execute stmt; select @@last_plan_from_cache; select EXEC_COUNT,plan_cache_hits, plan_in_cache from information_schema.statements_summary where digest_text='select * from t';
the `plan_in_cache` of last statement's result is 0
the `plan_in_cache` of last statement's result is 1
v4.0.0
planInCache should be cleared if PlanInCache is false.
planInCache
PlanInCache
The text was updated successfully, but these errors were encountered:
danmay319
Successfully merging a pull request may close this issue.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
The bug can be reproduced by executing following SQLs.
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. Affected version (Required)
v4.0.0
5. Root Cause Analysis
planInCache
should be cleared ifPlanInCache
is false.The text was updated successfully, but these errors were encountered: