#include "mysql_connection.h"#include <m_string.h>#include <my_global.h>#include <mysql_com.h>#include <mysql.h>#include <my_sys.h>#include <violite.h>#include "command.h"#include "log.h"#include "messages.h"#include "mysqld_error.h"#include "mysql_manager_error.h"#include "parse.h"#include "priv.h"#include "protocol.h"#include "thread_registry.h"#include "user_map.h"Include dependency graph for mysql_connection.cc:

Go to the source code of this file.
Classes | |
| class | Mysql_connection_thread |
Functions | |
| C_MODE_START void | my_net_local_init (NET *net) |
| pthread_handler_t | mysql_connection (void *arg) |
| C_MODE_START void my_net_local_init | ( | NET * | net | ) |
Definition at line 115 of file mysql_connection.cc.
References max_allowed_packet, st_net::max_packet, st_net::max_packet_size, net_buffer_length, net_read_timeout, net_retry_count, net_write_timeout, st_net::read_timeout, st_net::retry_count, and st_net::write_timeout.
00116 { 00117 net->max_packet= net_buffer_length; 00118 net->read_timeout= net_read_timeout; 00119 net->write_timeout= net_write_timeout; 00120 net->retry_count= net_retry_count; 00121 net->max_packet_size= max_allowed_packet; 00122 }
| pthread_handler_t mysql_connection | ( | void * | arg | ) |
Definition at line 369 of file mysql_connection.cc.
References args, Mysql_connection_thread::cleanup(), Mysql_connection_thread::init(), log_info(), and Mysql_connection_thread::run().
00370 { 00371 Mysql_connection_thread_args *args= (Mysql_connection_thread_args *) arg; 00372 Mysql_connection_thread mysql_connection_thread(*args); 00373 delete args; 00374 if (mysql_connection_thread.init()) 00375 log_info("mysql_connection(): error initializing thread"); 00376 else 00377 { 00378 mysql_connection_thread.run(); 00379 mysql_connection_thread.cleanup(); 00380 } 00381 return 0; 00382 }
Here is the call graph for this function:

1.4.7

