MySQL 8.0.39
Source Code Documentation
|
#include <thread_specific_connection_provider.h>
Public Member Functions | |
Thread_specific_connection_provider (Mysql::Tools::Base::I_connection_factory *connection_factory) | |
~Thread_specific_connection_provider () override | |
Mysql::Tools::Base::Mysql_query_runner * | get_runner (std::function< bool(const Mysql::Tools::Base::Message_data &)> *message_handler) override |
Public Member Functions inherited from Mysql::Tools::Dump::I_connection_provider | |
virtual | ~I_connection_provider ()=default |
Private Attributes | |
std::mutex | mu |
std::unordered_map< std::thread::id, Mysql::Tools::Base::Mysql_query_runner * > | m_runners |
Additional Inherited Members | |
Protected Member Functions inherited from Mysql::Tools::Dump::Abstract_connection_provider | |
Abstract_connection_provider (Mysql::Tools::Base::I_connection_factory *connection_factory) | |
virtual Mysql::Tools::Base::Mysql_query_runner * | create_new_runner (std::function< bool(const Mysql::Tools::Base::Message_data &)> *message_handler) |
|
explicit |
|
override |
|
overridevirtual |
Implements Mysql::Tools::Dump::I_connection_provider.
|
private |
|
private |