My Project
Public Member Functions
Plan_change_watchdog Class Reference

List of all members.

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.

Constructor & Destructor Documentation

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

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines