24#ifndef __M_SQL_TRANS_H__
25#define __M_SQL_TRANS_H__
29#include <mstdlib/base/m_defs.h>
30#include <mstdlib/base/m_types.h>
31#include <mstdlib/sql/m_sql.h>
32#include <mstdlib/sql/m_sql_stmt.h>
struct M_sql_connpool M_sql_connpool_t
Definition: m_sql.h:335
M_sql_error_t
Definition: m_sql.h:190
struct M_sql_stmt M_sql_stmt_t
Definition: m_sql_stmt.h:46
M_sql_error_t M_sql_trans_commit(M_sql_trans_t *trans, char *error, size_t error_size)
M_sql_isolation_t
Definition: m_sql_trans.h:53
M_sql_error_t M_sql_trans_execute(M_sql_trans_t *trans, M_sql_stmt_t *stmt)
M_sql_error_t M_sql_trans_begin(M_sql_trans_t **trans, M_sql_connpool_t *pool, M_sql_isolation_t isolation, char *error, size_t error_size)
M_sql_error_t M_sql_trans_rollback(M_sql_trans_t *trans)
M_sql_error_t M_sql_trans_process(M_sql_connpool_t *pool, M_sql_isolation_t isolation, M_sql_trans_commands_t cmd, void *cmd_arg, char *error, size_t error_size)
M_sql_error_t(* M_sql_trans_commands_t)(M_sql_trans_t *trans, void *arg, char *error, size_t error_size)
Definition: m_sql_trans.h:170
struct M_sql_trans M_sql_trans_t
Definition: m_sql_trans.h:50
M_sql_connpool_t * M_sql_trans_get_pool(M_sql_trans_t *trans)
@ M_SQL_ISOLATION_READCOMMITTED
Definition: m_sql_trans.h:56
@ M_SQL_ISOLATION_SERIALIZABLE
Definition: m_sql_trans.h:59
@ M_SQL_ISOLATION_UNKNOWN
Definition: m_sql_trans.h:54
@ M_SQL_ISOLATION_READUNCOMMITTED
Definition: m_sql_trans.h:55
@ M_SQL_ISOLATION_SNAPSHOT
Definition: m_sql_trans.h:58
@ M_SQL_ISOLATION_REPEATABLEREAD
Definition: m_sql_trans.h:57