*
* Comments: See "notice.txt" for copyright and license information.
*
- * $Id: psqlodbc.h,v 1.54 2001/11/05 09:46:17 inoue Exp $
+ * $Id: psqlodbc.h,v 1.55 2001/11/05 10:35:14 inoue Exp $
*
*/
UInt4 *rowsFetched;
UInt2 *rowStatusArray;
void *bookmark_ptr;
+ UInt2 *row_operation_ptr;
+ UInt4 *row_offset_ptr;
+ UInt4 paramset_size;
+ UInt4 param_bind_type;
+ UInt4 *param_processed_ptr;
+ UInt2 *param_status_ptr;
+ UInt2 *param_operation_ptr;
+ UInt4 *param_offset_ptr;
} StatementOptions;
/* Used to pass extra query info to send_query */
void
InitializeStatementOptions(StatementOptions *opt)
{
+ memset(opt, 0, sizeof(StatementOptions));
opt->maxRows = 0; /* driver returns all rows */
opt->maxLength = 0; /* driver returns all data for char/binary */
opt->rowset_size = 1;
opt->bind_size = 0; /* default is to bind by column */
opt->retrieve_data = SQL_RD_ON;
opt->use_bookmarks = SQL_UB_OFF;
+ opt->paramset_size = 1;
+ opt->param_bind_type = 0; /*default is column-wise binding */
}