Data Fields | |
unsigned int | allow_empty_strings:1 |
unsigned int | backslash_is_escape:1 |
unsigned int | conntimeout |
int | count |
unsigned int | delme:1 |
char | dsn [80] |
SQLHENV | env |
unsigned int | forcecommit:1 |
unsigned int | haspool:1 |
unsigned int | idlecheck |
unsigned int | isolation |
struct timeval | last_negative_connect |
unsigned int | limit |
struct { | |
struct odbc_class * next | |
} | list |
char | name [80] |
struct timeval | negative_connection_cache |
struct ao2_container * | obj_container |
char * | password |
char * | sanitysql |
char * | username |
Definition at line 118 of file res_odbc.c.
unsigned int allow_empty_strings |
Implicit conversion from an empty string to a number is valid for this database
Definition at line 131 of file res_odbc.c.
Referenced by ast_odbc_allow_empty_string_in_nontext(), and load_odbc_config().
unsigned int backslash_is_escape |
On this database, the backslash is a native escape sequence
Definition at line 129 of file res_odbc.c.
Referenced by ast_odbc_backslash_is_escape().
unsigned int conntimeout |
Maximum time the connection process should take
Definition at line 136 of file res_odbc.c.
Referenced by load_odbc_config(), and odbc_obj_connect().
int count |
Running count of pooled connections
Definition at line 134 of file res_odbc.c.
Referenced by _ast_odbc_request_obj2(), data_odbc_provider_handler(), and handle_cli_odbc_show().
unsigned int delme |
Purge the class
Definition at line 128 of file res_odbc.c.
char dsn[80] |
Definition at line 122 of file res_odbc.c.
Referenced by ast_odbc_direct_execute(), ast_odbc_prepare_and_execute(), load_odbc_config(), odbc_obj_connect(), and odbc_obj_disconnect().
SQLHENV env |
Definition at line 126 of file res_odbc.c.
Referenced by odbc_obj_connect().
unsigned int forcecommit |
Should uncommitted transactions be auto-committed on handle release?
Definition at line 130 of file res_odbc.c.
Referenced by find_transaction(), and load_odbc_config().
unsigned int haspool |
Boolean - TDS databases need this
Definition at line 127 of file res_odbc.c.
unsigned int idlecheck |
Recheck the connection if it is idle for this long (in seconds)
Definition at line 135 of file res_odbc.c.
Referenced by _ast_odbc_request_obj2(), and load_odbc_config().
unsigned int isolation |
Flags for how the DB should deal with data in other, uncommitted transactions
Definition at line 132 of file res_odbc.c.
Referenced by _ast_odbc_request_obj2(), acf_transaction_write(), find_transaction(), and load_odbc_config().
struct timeval last_negative_connect |
When a connection fails, when did that last occur?
Definition at line 140 of file res_odbc.c.
Referenced by _ast_odbc_request_obj2(), and odbc_obj_connect().
unsigned int limit |
Maximum number of database handles we will allow
Definition at line 133 of file res_odbc.c.
Referenced by load_odbc_config().
struct { ... } list |
char name[80] |
Definition at line 121 of file res_odbc.c.
Referenced by ast_odbc_direct_execute(), ast_odbc_prepare_and_execute(), ast_odbc_retrieve_transaction_obj(), odbc_obj_connect(), and odbc_obj_disconnect().
struct timeval negative_connection_cache |
When a connection fails, cache that failure for how long?
Definition at line 138 of file res_odbc.c.
Referenced by _ast_odbc_request_obj2().
struct odbc_class* next |
Definition at line 120 of file res_odbc.c.
struct ao2_container* obj_container |
List of handles associated with this class
Definition at line 142 of file res_odbc.c.
Referenced by _ast_odbc_request_obj2().
char* password |
Definition at line 124 of file res_odbc.c.
Referenced by load_odbc_config(), and odbc_obj_connect().
char* sanitysql |
Definition at line 125 of file res_odbc.c.
Referenced by ast_odbc_sanity_check(), and load_odbc_config().
char* username |
Definition at line 123 of file res_odbc.c.
Referenced by load_odbc_config(), and odbc_obj_connect().