Module: DB_MYSQL :: the MySQL driver for Kamailio. More...
#include "../../db/db_res.h"
#include "../../db/db_con.h"


Go to the source code of this file.
Functions | |
| int | db_mysql_convert_result (const db_con_t *_h, db_res_t *_r) |
| Fill the result structure with data from database. | |
| int | db_mysql_get_columns (const db_con_t *_h, db_res_t *_r) |
| Get and convert columns from a result. | |
Module: DB_MYSQL :: the MySQL driver for Kamailio.
Definition in file db_mysql/res.h.
Fill the result structure with data from database.
| _h | database connection | |
| _r | database result |
Definition at line 204 of file db_mysql/res.c.
References db_free_columns(), db_mysql_convert_rows(), db_mysql_get_columns(), and LM_ERR.
Referenced by db_mysql_store_result().
Get and convert columns from a result.
| _h | database connection | |
| _r | database result set |
| _h | database connection | |
| _r | database result set |
Definition at line 53 of file db_mysql/res.c.
References CON_CONNECTION, CON_RESULT, db_allocate_columns(), DB_BIGINT, DB_BITMAP, DB_BLOB, DB_DATETIME, DB_DOUBLE, db_free_columns(), DB_INT, DB_STRING, len, LM_DBG, LM_ERR, LM_WARN, pkg_malloc, RES_COL_N, RES_NAMES, RES_TYPES, s, and sip_uri::type.
Referenced by db_mysql_convert_result(), and db_mysql_fetch_result().
1.5.6