MySQL  8.0.19
Source Code Documentation
Prepare_error_tracker Class Reference

RAII class to ease the call of LEX::mark_broken() if error. More...

#include <sql_optimizer.h>

Public Member Functions

 Prepare_error_tracker (THD *thd)
 
 ~Prepare_error_tracker ()
 

Private Attributes

THD *const m_thd
 

Detailed Description

RAII class to ease the call of LEX::mark_broken() if error.

Used during preparation and optimization of DML queries.

Constructor & Destructor Documentation

◆ Prepare_error_tracker()

Prepare_error_tracker::Prepare_error_tracker ( THD thd)
inlineexplicit

◆ ~Prepare_error_tracker()

Prepare_error_tracker::~Prepare_error_tracker ( )

Member Data Documentation

◆ m_thd

THD* const Prepare_error_tracker::m_thd
private

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