MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Plan_change_watchdog Class Reference

Public Member Functions

 Plan_change_watchdog (const JOIN_TAB *tab_arg, const bool no_changes_arg)

Detailed Description

It is not obvious to see that test_if_skip_sort_order() never changes the plan if no_changes is true. So we double-check: creating an instance of this class saves some important access-path-related information of the current table; when the instance is destroyed, the latest access-path information is compared with saved data.

Definition at line 3757 of file sql_select.cc.

Constructor & Destructor Documentation

Plan_change_watchdog::Plan_change_watchdog ( const JOIN_TAB tab_arg,
const bool  no_changes_arg 
)
inline
Parameters
tab_argtable whose access path is being determined
no_changeswhether a change to the access path is allowed

Definition at line 3765 of file sql_select.cc.


The documentation for this class was generated from the following file: