Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
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. More...
 
unsigned int forcecommit:1
 
unsigned int isolation
 
struct {
   struct odbc_txn_frame *   next
 
list
 
struct {
   struct odbc_txn_frame *   next
 
list
 
char name [0]
 
struct odbc_objobj
 
struct ast_channelowner
 

Detailed Description

Definition at line 115 of file res_odbc.c.

Field Documentation

◆ active

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 126 of file res_odbc.c.

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

◆ forcecommit

unsigned int forcecommit

Should uncommitted transactions be auto-committed on handle release?

Definition at line 127 of file res_odbc.c.

Referenced by acf_transaction_read(), acf_transaction_write(), create_transaction(), and release_transaction().

◆ isolation

unsigned int isolation

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

Definition at line 128 of file res_odbc.c.

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

◆ list [1/2]

struct { ... } list

◆ list [2/2]

struct { ... } list

◆ name

char name

◆ next

struct odbc_txn_frame* next

Definition at line 116 of file res_odbc.c.

◆ obj

struct odbc_obj * obj

Database handle within which transacted statements are run

Definition at line 118 of file res_odbc.c.

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

◆ owner

struct ast_channel* owner

Definition at line 117 of file res_odbc.c.


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