MySQL 9.1.0
Source Code Documentation
|
This class restores a table_map object to its original value when '*this' is destroyed. More...
#include <sql_optimizer.h>
Public Member Functions | |
Table_map_restorer (table_map *map) | |
Constructor. More... | |
Table_map_restorer (const Table_map_restorer &)=delete | |
Table_map_restorer & | operator= (const Table_map_restorer &)=delete |
~Table_map_restorer () | |
void | restore () |
void | assert_unchanged () const |
Private Attributes | |
table_map *const | m_location |
The location to be restored. More... | |
const table_map | m_saved_value |
The original value to restore. More... | |
This class restores a table_map object to its original value when '*this' is destroyed.
|
inlineexplicit |
Constructor.
map | The table map that we wish to restore. |
|
delete |
|
inline |
|
inline |
|
delete |
|
inline |
|
private |
The location to be restored.
|
private |
The original value to restore.