Module: DB_MYSQL :: the MySQL driver for Kamailio. More...
#include "my_con.h"
#include "db_mysql.h"
#include <mysql/mysql_version.h>
#include "../../mem/mem.h"
#include "../../dprint.h"
#include "../../ut.h"

Go to the source code of this file.
Functions | |
| void | db_mysql_free_connection (struct pool_con *con) |
| Close the connection and release memory. | |
| struct my_con * | db_mysql_new_connection (const struct db_id *id) |
| Create a new connection structure, open the MySQL connection and set reference count to 1. | |
Module: DB_MYSQL :: the MySQL driver for Kamailio.
Definition in file my_con.c.
| void db_mysql_free_connection | ( | struct pool_con * | con | ) |
Close the connection and release memory.
Definition at line 137 of file my_con.c.
References my_con::con, free_db_id(), my_con::id, pkg_free, and my_con::res.
Referenced by db_mysql_close().
Create a new connection structure, open the MySQL connection and set reference count to 1.
Definition at line 43 of file my_con.c.
References my_con::con, db_id::database, db_mysql_auto_reconnect, db_mysql_timeout_interval, db_id::host, my_con::id, LM_DBG, LM_ERR, NULL, db_id::password, pkg_free, pkg_malloc, db_id::port, my_con::ref, my_con::timestamp, db_id::username, and ZSW.
Referenced by db_mysql_init().
1.5.6