Query plan temp flag set is missed in create_duplicate_weedout_tmp_table

Bug #1592694 reported by Laurynas Biveinis on 2016-06-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Status tracked in 5.7
5.5
Won't Fix
Undecided
Unassigned
5.6
Fix Released
Undecided
Robert Golebiowski
5.7
Fix Released
Medium
Robert Golebiowski

Bug Description

By code review:

create_duplicate_weedout_tmp_table calls thd->inc_status_created_tmp_tables(); but does not do thd->query_plan_flags|= QPLAN_TMP_TABLE. The fix would be moving the flag set directly into inc_status_created_tmp_tables, same as already done for disk temp tables.

tags: added: slow-extended
tags: added: low-hanging-fruit

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-1722

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers