Kea 2.7.6
mysql_connection.h File Reference
#include <asiolink/io_service.h>
#include <database/database_connection.h>
#include <database/db_exceptions.h>
#include <database/db_log.h>
#include <exceptions/exceptions.h>
#include <mysql/mysql_binding.h>
#include <mysql/mysql_constants.h>
#include <boost/scoped_ptr.hpp>
#include <mysql.h>
#include <mysqld_error.h>
#include <errmsg.h>
#include <functional>
#include <vector>
#include <stdint.h>
+ Include dependency graph for mysql_connection.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  isc::db::MySqlConnection
 Common MySQL Connector Pool. More...
 
class  isc::db::MySqlFreeResult
 Fetch and Release MySQL Results. More...
 
class  isc::db::MySqlHolder
 MySQL Handle Holder. More...
 
class  isc::db::MySqlTransaction
 RAII object representing MySQL transaction. More...
 
struct  isc::db::TaggedStatement
 MySQL Selection Statements. More...
 

Namespaces

namespace  isc
 Defines the logger used by the top-level component of kea-lfc.
 
namespace  isc::db
 

Functions

int isc::db::MysqlExecuteStatement (MYSQL_STMT *stmt)
 Execute a prepared statement.
 
int isc::db::MysqlQuery (MYSQL *mysql, const char *stmt)
 Execute a literal statement.
 
template<typename Fun , typename... Args>
int isc::db::retryOnDeadlock (Fun &fun, Args... args)
 Retry on InnoDB deadlock.