MySQL 5.6.14 Source Code Document
|
Public Member Functions | |
Plan_change_watchdog (const JOIN_TAB *tab_arg, const bool no_changes_arg) |
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.
|
inline |
tab_arg | table whose access path is being determined |
no_changes | whether a change to the access path is allowed |
Definition at line 3765 of file sql_select.cc.