odbc_txn_frame Struct Reference

Collaboration diagram for odbc_txn_frame:

Collaboration graph
[legend]

Data Fields

unsigned int active:1
 Is this record the current active transaction within the channel? Note that the active flag is really only necessary for statements which are triggered from the dialplan, as there isn't a direct correlation between multiple statements. Applications wishing to use transactions may simply perform each statement on the same odbc_obj, which keeps the transaction persistent.
unsigned int forcecommit:1
unsigned int isolation
struct {
   struct odbc_txn_frame *   next
list
char name [0]
struct odbc_objobj
struct ast_channelowner

Detailed Description

Definition at line 170 of file res_odbc.c.


Field Documentation

unsigned int active

Is this record the current active transaction within the channel? Note that the active flag is really only necessary for statements which are triggered from the dialplan, as there isn't a direct correlation between multiple statements. Applications wishing to use transactions may simply perform each statement on the same odbc_obj, which keeps the transaction persistent.

Definition at line 181 of file res_odbc.c.

Referenced by find_transaction(), and mark_transaction_active().

unsigned int forcecommit

Should uncommitted transactions be auto-committed on handle release?

Definition at line 182 of file res_odbc.c.

Referenced by acf_transaction_read(), acf_transaction_write(), find_transaction(), and odbc_release_obj2().

unsigned int isolation

Flags for how the DB should deal with data in other, uncommitted transactions

Definition at line 183 of file res_odbc.c.

Referenced by acf_transaction_read(), acf_transaction_write(), and find_transaction().

struct { ... } list

char name[0]

Name of this transaction ID

Definition at line 184 of file res_odbc.c.

Referenced by acf_transaction_read(), and find_transaction().

struct odbc_txn_frame* next [read]

Definition at line 171 of file res_odbc.c.

struct odbc_obj* obj [read]

Database handle within which transacted statements are run

Definition at line 173 of file res_odbc.c.

Referenced by acf_transaction_write(), ast_odbc_retrieve_transaction_obj(), commit_exec(), find_transaction(), odbc_release_obj2(), release_transaction(), and rollback_exec().

struct ast_channel* owner [read]

Definition at line 172 of file res_odbc.c.

Referenced by find_transaction(), mark_transaction_active(), and release_transaction().


The documentation for this struct was generated from the following file:

Generated on Thu Apr 16 06:37:00 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6