MySQL 8.4.2
Source Code Documentation
Prepare_error_tracker Class Reference

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

#include <sql_lex.h>

Public Member Functions

 Prepare_error_tracker (THD *thd_arg)
 
 ~Prepare_error_tracker ()
 

Private Attributes

THD *const 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_arg)
inline

◆ ~Prepare_error_tracker()

Prepare_error_tracker::~Prepare_error_tracker ( )

Member Data Documentation

◆ thd

THD* const Prepare_error_tracker::thd
private

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