◆ Session_backup_and_attach()
Srv_session::Session_backup_and_attach::Session_backup_and_attach |
( |
Srv_session * |
sess, |
|
|
bool |
is_in_close_session |
|
) |
| |
Constructs a session state object.
Saves state then attaches a session. Uses RAII.
- Parameters
-
sess | Session to backup |
is_in_close_session | Whether session needs to be closed. |
◆ ~Session_backup_and_attach()
Srv_session::Session_backup_and_attach::~Session_backup_and_attach |
( |
| ) |
|
Destructs the session state object.
In other words it restores to previous state.
◆ attach_error
bool Srv_session::Session_backup_and_attach::attach_error |
◆ backup_thd
THD* Srv_session::Session_backup_and_attach::backup_thd |
|
private |
◆ in_close_session
bool Srv_session::Session_backup_and_attach::in_close_session |
|
private |
◆ old_session
Srv_session* Srv_session::Session_backup_and_attach::old_session |
|
private |
◆ session
Srv_session* Srv_session::Session_backup_and_attach::session |
|
private |
The documentation for this class was generated from the following files: