FreeTDS API: _hdbc Struct Reference

FreeTDS API

- Main Page
- Related Pages
- Modules
- Classes
- Files

- Class List
- Class Index
- Class Members

All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Public Attributes | List of all members
_hdbc Struct Reference
Collaboration diagram for _hdbc:
[legend]

## Public Attributes
struct _hcattr | attr
struct _hstmt * | current_statement
| Statement executing. More...
unsigned int | cursor_support
| <>0 if server handle cursors
TDS_INT | default_query_timeout
DSTR | dsn
struct _henv * | env
struct _sql_errors | errs
SQLSMALLINT | htype
tds_mutex | mtx
DSTR | server
struct _hstmt * | stmt_list
| list of all statements allocated from this connection
TDSSOCKET * | tds_socket
TDS_DESC * | uad [TDS_MAX_APP_DESC]
| descriptors associated to connection

## Member Data Documentation

struct _hstmt* _hdbc::current_statement

Statement executing.

This should be set AFTER sending query to avoid race condition and assure to not overwrite it if another statement is executing a query.

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

- include/freetds/odbc.h