_hdbc Struct Reference

Search Toolkit Book for _hdbc

#include <tdsodbc.h>

Collaboration diagram for _hdbc:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 224 of file tdsodbc.h.

Public Attributes

SQLSMALLINT htype
_henvenv
TDSSOCKETtds_socket
DSTR dsn
DSTR server
_hstmtcurrent_statement
 Statement executing.
_hstmtstmt_list
 list of all statements allocated from this connection
_sql_errors errs
_hcattr attr
TDS_DESCuad [100]
 descriptors associated to connection


Member Data Documentation

struct _hcattr _hdbc::attr
 

Definition at line 240 of file tdsodbc.h.

Referenced by _SQLAllocConnect(), change_autocommit(), change_transaction(), odbc_env_change(), and odbc_quote_metadata().

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.

Definition at line 236 of file tdsodbc.h.

Referenced by _SQLExecute(), _SQLFetch(), change_transaction(), and odbc_errmsg_handler().

DSTR _hdbc::dsn
 

Definition at line 229 of file tdsodbc.h.

Referenced by _SQLAllocConnect().

struct _henv* _hdbc::env
 

Definition at line 227 of file tdsodbc.h.

Referenced by _SQLAllocConnect(), _SQLFetch(), odbc_connect(), odbc_set_return_params(), odbc_set_return_status(), and sql2tds().

struct _sql_errors _hdbc::errs
 

Definition at line 239 of file tdsodbc.h.

Referenced by change_autocommit(), change_database(), change_transaction(), odbc_connect(), and odbc_errmsg_handler().

SQLSMALLINT _hdbc::htype
 

Definition at line 226 of file tdsodbc.h.

Referenced by _SQLAllocConnect().

DSTR _hdbc::server
 

Definition at line 230 of file tdsodbc.h.

Referenced by _SQLAllocConnect(), and odbc_errmsg_handler().

struct _hstmt* _hdbc::stmt_list
 

list of all statements allocated from this connection

Definition at line 238 of file tdsodbc.h.

Referenced by _SQLFreeDesc().

TDSSOCKET* _hdbc::tds_socket
 

Definition at line 228 of file tdsodbc.h.

Referenced by _SQLExecute(), _SQLFetch(), change_autocommit(), change_database(), change_transaction(), odbc_col_setname(), odbc_connect(), odbc_errmsg_handler(), odbc_free_dynamic(), odbc_populate_ird(), odbc_process_tokens(), odbc_quote_metadata(), odbc_set_return_params(), odbc_set_return_status(), odbc_stat_execute(), odbc_upper_column_names(), query_timeout_cancel(), sql2tds(), and to_native().

TDS_DESC* _hdbc::uad[100]
 

descriptors associated to connection

Definition at line 242 of file tdsodbc.h.

Referenced by _SQLFreeDesc().


The documentation for this struct was generated from the following file:
Generated on Mon Dec 7 09:48:17 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Mon Dec 07 16:22:17 2009 by modify_doxy.py rev. 173732