MySQL 9.0.0
Source Code Documentation
anonymous_namespace{sql_planner.cc}::Join_tab_compare_straight Class Reference

"Less than" comparison function object used to compare two JOIN_TAB objects that are joined using STRAIGHT JOIN. More...

Public Member Functions

bool operator() (const JOIN_TAB *jt1, const JOIN_TAB *jt2) const
 

Detailed Description

"Less than" comparison function object used to compare two JOIN_TAB objects that are joined using STRAIGHT JOIN.

For STRAIGHT JOINs, the join order is dictated by the relative order of the tables in the query which is reflected in JOIN_TAB::dependent. Table size and key dependencies are ignored here.

Member Function Documentation

◆ operator()()

bool anonymous_namespace{sql_planner.cc}::Join_tab_compare_straight::operator() ( const JOIN_TAB jt1,
const JOIN_TAB jt2 
) const
inline

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