Information for a server connection. More...
#include <tds.h>
Public Member Functions | |
| TDS_MUTEX_DECLARE (wire_mtx) | |
Public Attributes | |
| int | char_conv_count |
| TDSICONV ** | char_convs |
| TDS_UCHAR | collation [5] |
| TDSCOMPUTEINFO ** | comp_info |
| TDSCONNECTION | conn |
| TDSCURSOR * | cur_cursor |
| cursor in use | |
| TDSDYNAMIC * | cur_dyn |
| dynamic structure in use | |
| TDSRESULTINFO * | current_results |
| Current query information. | |
| TDSCURSOR * | cursors |
| linked list of cursors allocated for this connection | |
| TDSDYNAMIC * | dyns |
| list of dynamic allocate for this connection | |
| void(* | env_chg_func )(TDSSOCKET *tds, int type, char *oldval, char *newval) |
| TDS_TINYINT | has_status |
| true is ret_status is valid | |
| unsigned char * | in_buf |
| input buffer | |
| unsigned int | in_buf_max |
| allocated input buffer | |
| volatile unsigned char | in_cancel |
| indicate we are waiting a cancel reply; discard tokens till acknowledge | |
| unsigned char | in_flag |
| input buffer type | |
| unsigned | in_len |
| input buffer length | |
| unsigned | in_pos |
| current position in in_buf | |
| int | internal_sp_called |
| TDSLOGIN * | login |
| config for login stuff. | |
| TDS_INT | num_comp_info |
| int | option_value |
| unsigned char * | out_buf |
| output buffer | |
| unsigned int | out_buf_max |
| allocated output buffer | |
| unsigned char | out_flag |
| output buffer type | |
| unsigned | out_pos |
| current position in out_buf | |
| TDSPARAMINFO * | param_info |
| TDS_INT | query_timeout |
| TDSRESULTINFO * | res_info |
| TDS_INT | ret_status |
| return status from store procedure | |
| TDS_INT8 | rows_affected |
| rows updated/deleted/inserted/selected, TDS_NO_COUNT if not valid | |
| int | spid |
| TDS_STATE | state |
| TDS_UCHAR | tds72_transaction [8] |
| TDS_USMALLINT | tds_version |
Information for a server connection.
Current query information.
Contains information in process, both normal and compute results. This pointer shouldn't be freed; it's just an alias to another structure.
config for login stuff.
After login this field is NULL
1.6.3