_hstmt Struct Reference

Search Toolkit Book for _hstmt

#include <tdsodbc.h>

Collaboration diagram for _hstmt:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 305 of file tdsodbc.h.

Public Attributes

SQLSMALLINT htype
_hdbcdbc
char * query
 query to execute
_hstmtnext
 next in list
_hstmtprev
 previous in list
char * prepared_query
unsigned prepared_query_is_func:1
unsigned prepared_query_is_rpc:1
unsigned need_reprepare:1
unsigned param_data_called:1
TDSPARAMINFOparams
 parameters saved
int param_num
 last valid parameter in params, it's a ODBC index (from 1 relative to descriptor)
char * prepared_pos
 position in prepared query to check parameters, used only in RPC
unsigned int curr_param_row
unsigned int num_param_rows
unsigned int param_count
 number of parameter in current query
int row
int row_count
 row count to return
int next_row_count
TDS_ODBC_ROW_STATUS row_status
 status of row, it can happen that this flag mark that we are still parsing row, this it's normal
TDSDYNAMICdyn
_sql_errors errs
TDS_DESCard
TDS_DESCird
TDS_DESCapd
TDS_DESCipd
TDS_DESCorig_ard
TDS_DESCorig_apd
SQLUINTEGER sql_rowset_size
_hsattr attr
DSTR cursor_name
int special_row


Member Data Documentation

TDS_DESC * _hstmt::apd
 

Definition at line 345 of file tdsodbc.h.

Referenced by _SQLExecute(), continue_parse_prepared_query(), odbc_set_return_params(), odbc_set_return_status(), parse_prepared_query(), and sql2tds().

TDS_DESC* _hstmt::ard
 

Definition at line 345 of file tdsodbc.h.

Referenced by _SQLFetch().

struct _hsattr _hstmt::attr
 

Definition at line 348 of file tdsodbc.h.

Referenced by _SQLExecute().

unsigned int _hstmt::curr_param_row
 

Definition at line 332 of file tdsodbc.h.

Referenced by _SQLExecute(), odbc_set_stmt(), sql2tds(), and SQLExecute().

DSTR _hstmt::cursor_name
 

Definition at line 349 of file tdsodbc.h.

Referenced by _SQLAllocStmt().

struct _hdbc* _hstmt::dbc
 

Definition at line 308 of file tdsodbc.h.

Referenced by _SQLAllocStmt(), _SQLExecute(), _SQLFetch(), odbc_col_setname(), odbc_free_dynamic(), odbc_populate_ird(), odbc_process_tokens(), odbc_set_return_params(), odbc_set_return_status(), odbc_stat_execute(), odbc_upper_column_names(), prepare_call(), query_timeout_cancel(), and sql2tds().

TDSDYNAMIC* _hstmt::dyn
 

Definition at line 343 of file tdsodbc.h.

Referenced by _SQLExecute(), and odbc_free_dynamic().

struct _sql_errors _hstmt::errs
 

Definition at line 344 of file tdsodbc.h.

Referenced by _SQLExecute(), _SQLFetch(), odbc_errmsg_handler(), prepared_rpc(), query_timeout_cancel(), and SQLExecDirect().

SQLSMALLINT _hstmt::htype
 

Definition at line 307 of file tdsodbc.h.

Referenced by _SQLAllocStmt().

TDS_DESC * _hstmt::ipd
 

Definition at line 345 of file tdsodbc.h.

Referenced by continue_parse_prepared_query(), odbc_set_return_params(), and parse_prepared_query().

TDS_DESC * _hstmt::ird
 

Definition at line 345 of file tdsodbc.h.

Referenced by _SQLFetch(), odbc_col_setname(), and odbc_populate_ird().

unsigned _hstmt::need_reprepare
 

Definition at line 321 of file tdsodbc.h.

Referenced by _SQLExecute().

struct _hstmt* _hstmt::next
 

next in list

Definition at line 313 of file tdsodbc.h.

Referenced by _SQLFreeDesc().

int _hstmt::next_row_count
 

Definition at line 339 of file tdsodbc.h.

unsigned int _hstmt::num_param_rows
 

Definition at line 332 of file tdsodbc.h.

Referenced by _SQLExecute().

TDS_DESC * _hstmt::orig_apd
 

Definition at line 346 of file tdsodbc.h.

TDS_DESC* _hstmt::orig_ard
 

Definition at line 346 of file tdsodbc.h.

unsigned int _hstmt::param_count
 

number of parameter in current query

Definition at line 335 of file tdsodbc.h.

Referenced by _SQLExecute(), odbc_set_stmt(), parse_prepared_query(), and SQLExecDirect().

unsigned _hstmt::param_data_called
 

Definition at line 322 of file tdsodbc.h.

Referenced by SQLExecDirect(), and SQLExecute().

int _hstmt::param_num
 

last valid parameter in params, it's a ODBC index (from 1 relative to descriptor)

Definition at line 328 of file tdsodbc.h.

Referenced by _SQLExecute(), continue_parse_prepared_query(), odbc_set_stmt(), parse_prepared_query(), and start_parse_prepared_query().

TDSPARAMINFO* _hstmt::params
 

parameters saved

Definition at line 326 of file tdsodbc.h.

Referenced by _SQLExecute(), continue_parse_prepared_query(), odbc_set_stmt(), parse_prepared_query(), prepared_rpc(), and start_parse_prepared_query().

char* _hstmt::prepared_pos
 

position in prepared query to check parameters, used only in RPC

Definition at line 330 of file tdsodbc.h.

Referenced by _SQLExecute(), odbc_set_stmt(), parse_prepared_query(), and prepared_rpc().

char* _hstmt::prepared_query
 

Definition at line 318 of file tdsodbc.h.

Referenced by _SQLExecute(), odbc_set_stmt(), odbc_set_stmt_prepared_query(), prepare_call(), and SQLExecute().

unsigned _hstmt::prepared_query_is_func
 

Definition at line 319 of file tdsodbc.h.

Referenced by continue_parse_prepared_query(), odbc_set_return_params(), odbc_set_return_status(), odbc_set_stmt(), prepare_call(), start_parse_prepared_query(), and to_native().

unsigned _hstmt::prepared_query_is_rpc
 

Definition at line 320 of file tdsodbc.h.

Referenced by _SQLExecute(), odbc_set_stmt(), prepare_call(), and to_native().

struct _hstmt* _hstmt::prev
 

previous in list

Definition at line 315 of file tdsodbc.h.

char* _hstmt::query
 

query to execute

Definition at line 310 of file tdsodbc.h.

Referenced by _SQLExecute(), odbc_set_stmt(), odbc_set_stmt_query(), prepare_call(), and SQLExecDirect().

int _hstmt::row
 

Definition at line 336 of file tdsodbc.h.

Referenced by _SQLExecute(), and _SQLFetch().

int _hstmt::row_count
 

row count to return

Definition at line 338 of file tdsodbc.h.

TDS_ODBC_ROW_STATUS _hstmt::row_status
 

status of row, it can happen that this flag mark that we are still parsing row, this it's normal

Definition at line 341 of file tdsodbc.h.

Referenced by _SQLFetch().

int _hstmt::special_row
 

Definition at line 350 of file tdsodbc.h.

Referenced by _SQLFetch().

SQLUINTEGER _hstmt::sql_rowset_size
 

Definition at line 347 of file tdsodbc.h.


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