|
Asterisk - The Open Source Telephony Project
18.5.0
|

Data Fields | |
| unsigned int | backslash_is_escape:1 |
| ast_cond_t | cond |
| size_t | connection_cnt |
| struct { | |
| struct odbc_obj * first | |
| struct odbc_obj * last | |
| } | connections |
| unsigned int | conntimeout |
| unsigned int | delme:1 |
| char | dsn [80] |
| SQLHENV | env |
| unsigned int | forcecommit:1 |
| unsigned int | isolation |
| struct timeval | last_negative_connect |
| struct { | |
| struct odbc_class * next | |
| } | list |
| ast_mutex_t | lock |
| unsigned int | logging |
| long | longest_query_execution_time |
| unsigned int | maxconnections |
| char | name [80] |
| struct timeval | negative_connection_cache |
| char * | password |
| int | prepares_executed |
| int | queries_executed |
| char * | sanitysql |
| unsigned int | slowquerylimit |
| char * | sql_text |
| char * | username |
Definition at line 64 of file res_odbc.c.
| unsigned int backslash_is_escape |
On this database, the backslash is a native escape sequence
Definition at line 74 of file res_odbc.c.
Referenced by ast_odbc_backslash_is_escape().
| ast_cond_t cond |
Condition to notify any pending connection requesters
Definition at line 88 of file res_odbc.c.
| size_t connection_cnt |
The total number of current connections
Definition at line 90 of file res_odbc.c.
| struct { ... } connections |
A pool of available connections
| unsigned int conntimeout |
Maximum time the connection process should take
Definition at line 77 of file res_odbc.c.
Referenced by load_odbc_config(), and odbc_obj_connect().
| unsigned int delme |
Purge the class
Definition at line 73 of file res_odbc.c.
| char dsn[80] |
Definition at line 68 of file res_odbc.c.
Referenced by load_odbc_config(), and odbc_obj_connect().
| SQLHENV env |
Definition at line 72 of file res_odbc.c.
Referenced by odbc_obj_connect().
| struct odbc_obj* first |
Definition at line 84 of file res_odbc.c.
| unsigned int forcecommit |
Should uncommitted transactions be auto-committed on handle release?
Definition at line 75 of file res_odbc.c.
Referenced by load_odbc_config().
| unsigned int isolation |
Flags for how the DB should deal with data in other, uncommitted transactions
Definition at line 76 of file res_odbc.c.
Referenced by load_odbc_config().
| struct odbc_obj* last |
Definition at line 84 of file res_odbc.c.
| struct timeval last_negative_connect |
When a connection fails, when did that last occur?
Definition at line 82 of file res_odbc.c.
Referenced by odbc_obj_connect().
| struct { ... } list |
| ast_mutex_t lock |
Lock to protect the connections
Definition at line 86 of file res_odbc.c.
Referenced by ast_odbc_direct_execute(), and ast_odbc_prepare_and_execute().
| unsigned int logging |
Whether logging is enabled on this class or not
Definition at line 92 of file res_odbc.c.
Referenced by ast_odbc_direct_execute(), ast_odbc_execute_sql(), ast_odbc_prepare(), ast_odbc_prepare_and_execute(), ast_odbc_smart_execute(), and load_odbc_config().
| long longest_query_execution_time |
The longest execution time for a query executed on this class
Definition at line 98 of file res_odbc.c.
Referenced by ast_odbc_direct_execute(), and ast_odbc_prepare_and_execute().
| unsigned int maxconnections |
Maximum number of allowed connections
Definition at line 78 of file res_odbc.c.
Referenced by load_odbc_config().
| char name[80] |
Definition at line 67 of file res_odbc.c.
Referenced by aoro2_class_cb(), ast_odbc_direct_execute(), ast_odbc_prepare_and_execute(), PathSegment::get_child(), Parameter::load(), SwaggerType::load(), Property::load(), and odbc_obj_connect().
| struct timeval negative_connection_cache |
When a connection fails, cache that failure for how long?
Definition at line 80 of file res_odbc.c.
Referenced by odbc_obj_connect().
| struct odbc_class* next |
Definition at line 66 of file res_odbc.c.
| char* password |
Definition at line 70 of file res_odbc.c.
Referenced by load_odbc_config(), and odbc_obj_connect().
| int prepares_executed |
The number of prepares executed on this class (total from all connections
Definition at line 94 of file res_odbc.c.
Referenced by ast_odbc_prepare().
| int queries_executed |
The number of queries executed on this class (total from all connections)
Definition at line 96 of file res_odbc.c.
Referenced by ast_odbc_execute_sql(), ast_odbc_prepare_and_execute(), and ast_odbc_smart_execute().
| char* sanitysql |
Definition at line 71 of file res_odbc.c.
Referenced by load_odbc_config().
| unsigned int slowquerylimit |
Slow query limit (in milliseconds)
Definition at line 102 of file res_odbc.c.
Referenced by ast_odbc_direct_execute(), ast_odbc_prepare_and_execute(), and load_odbc_config().
| char* sql_text |
The SQL query that took the longest to execute
Definition at line 100 of file res_odbc.c.
Referenced by ast_odbc_direct_execute(), and ast_odbc_prepare_and_execute().
| char* username |
Definition at line 69 of file res_odbc.c.
Referenced by load_odbc_config(), and odbc_obj_connect().
1.8.13