FreeTDS API
Loading...
Searching...
No Matches
Public Attributes | List of all members
_hstmt Struct Reference
Collaboration diagram for _hstmt:
[legend]

Public Attributes

TDS_DESCapd
 
TDS_DESCard
 
struct _hsattr attr
 
unsigned int curr_param_row
 
TDSCURSORcursor
 
DSTR cursor_name
 
struct _hdbcdbc
 
TDSDYNAMICdyn
 
struct _sql_errors errs
 
SQLSMALLINT htype
 
TDS_DESCipd
 
TDS_DESCird
 
unsigned is_prepared_query:1
 
tds_mutex mtx
 
unsigned need_reprepare:1
 Prepared statement needs to be prepared again.
 
struct _hstmtnext
 next in list
 
unsigned int num_param_rows
 
TDS_DESCorig_apd
 
TDS_DESCorig_ard
 
unsigned int param_count
 number of parameter in current query
 
unsigned param_data_called:1
 
int param_num
 last valid parameter in params, it's a ODBC index (from 1 relative to descriptor)
 
TDSPARAMINFOparams
 parameters saved
 
size_t prepared_pos
 position in prepared query to check parameters, used only in RPC
 
unsigned prepared_query_is_func:1
 
unsigned prepared_query_is_rpc:1
 
struct _hstmtprev
 previous in list
 
DSTR query
 query to execute
 
int row
 
TDS_INT8 row_count
 row count to return
 
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
 
TDS_ODBC_SPECIAL_ROWS special_row
 
SQLULEN sql_rowset_size
 
TDSSOCKETtds
 socket (only if active)
 

Member Data Documentation

◆ need_reprepare

unsigned _hstmt::need_reprepare

Prepared statement needs to be prepared again.

This can happen if the parameters was changed or not specified.


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