![]()  | 
  
    MySQL 8.4.7
    
   Source Code Documentation 
   | 
 
Query plan for EXPLAINable commands, should be locked with LOCK_query_plan before using. More...
#include <sql_class.h>
Public Member Functions | |
| void | assert_plan_is_locked_if_other () const | 
| Asserts that current_thd has locked this plan, if it does not own it.  More... | |
| Query_plan (THD *thd_arg) | |
| void | set_query_plan (enum_sql_command sql_cmd, LEX *lex_arg, bool ps) | 
| Set query plan.  More... | |
| enum_sql_command | get_command () const | 
| LEX * | get_lex () const | 
| Modification_plan const * | get_modification_plan () const | 
| bool | is_ps_query () const | 
| bool | is_single_table_plan () const | 
| void | set_modification_plan (Modification_plan *plan_arg) | 
Private Member Functions | |
| Query_plan (const Query_plan &) | |
| not defined  More... | |
| Query_plan & | operator= (const Query_plan &) | 
| not defined  More... | |
Private Attributes | |
| THD *const | thd | 
| enum_sql_command | sql_command | 
| Original sql_command;.  More... | |
| LEX * | lex | 
| LEX of topmost statement.  More... | |
| const Modification_plan * | modification_plan | 
| Query plan for UPDATE/DELETE/INSERT/REPLACE.  More... | |
| bool | is_ps | 
| True if query is run in prepared statement.  More... | |
Query plan for EXPLAINable commands, should be locked with LOCK_query_plan before using.
      
  | 
  explicitprivate | 
not defined
      
  | 
  inlineexplicit | 
| void THD::Query_plan::assert_plan_is_locked_if_other | ( | ) | const | 
Asserts that current_thd has locked this plan, if it does not own it.
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
| bool THD::Query_plan::is_single_table_plan | ( | ) | const | 
      
  | 
  private | 
not defined
| void THD::Query_plan::set_modification_plan | ( | Modification_plan * | plan_arg | ) | 
| void THD::Query_plan::set_query_plan | ( | enum_sql_command | sql_cmd, | 
| LEX * | lex_arg, | ||
| bool | ps | ||
| ) | 
Set query plan.
      
  | 
  private | 
True if query is run in prepared statement.
      
  | 
  private | 
LEX of topmost statement.
      
  | 
  private | 
Query plan for UPDATE/DELETE/INSERT/REPLACE.
      
  | 
  private | 
Original sql_command;.
      
  | 
  private |