MySQL 9.1.0
Source Code Documentation
|
RAII class to temporarily swap thd->mem_root to a different mem_root. More...
#include <thd_raii.h>
Public Member Functions | |
Swap_mem_root_guard (THD *thd, MEM_ROOT *mem_root) | |
~Swap_mem_root_guard () | |
MEM_ROOT * | old_mem_root () |
Private Attributes | |
THD * | m_thd |
MEM_ROOT * | m_old_mem_root |
RAII class to temporarily swap thd->mem_root to a different mem_root.
|
inline |
|
inline |
|
private |
|
private |