MySQL 8.4.2
Source Code Documentation
optimizer_trace.h File Reference
#include <array>
#include <cassert>
#include <deque>
#include <ostream>
#include "sql/opt_trace_context.h"
#include "sql/sql_lex.h"

Go to the source code of this file.

Classes

class  TraceBuffer
 This class is used for storing unstructured optimizer trace text (as used by the Hypergraph optimizer). More...
 
class  UnstructuredTrace
 Trace in the form of plain text (i.e. More...
 

Macros

#define SQL_JOIN_OPTIMIZER_OPTIMIZER_TRACE_   1
 

Functions

std::ostream & Trace (THD *thd)
 Fetch the ostream that we write optimizer trace into. More...
 
bool TraceStarted (THD *thd)
 

Macro Definition Documentation

◆ SQL_JOIN_OPTIMIZER_OPTIMIZER_TRACE_

#define SQL_JOIN_OPTIMIZER_OPTIMIZER_TRACE_   1

Function Documentation

◆ Trace()

std::ostream & Trace ( THD thd)
inline

Fetch the ostream that we write optimizer trace into.

◆ TraceStarted()

bool TraceStarted ( THD thd)
inline
Returns
'true' if unstructured optimizer trace (as used by Hypergraph) is started.