File tree 2 files changed +12
-1
lines changed
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 5
5
*
6
6
* Comments: See "notice.txt" for copyright and license information.
7
7
*
8
- * $Id: psqlodbc.h,v 1.54 2001/11/05 09:46:17 inoue Exp $
8
+ * $Id: psqlodbc.h,v 1.55 2001/11/05 10:35:14 inoue Exp $
9
9
*
10
10
*/
11
11
@@ -209,6 +209,14 @@ typedef struct StatementOptions_
209
209
UInt4 * rowsFetched ;
210
210
UInt2 * rowStatusArray ;
211
211
void * bookmark_ptr ;
212
+ UInt2 * row_operation_ptr ;
213
+ UInt4 * row_offset_ptr ;
214
+ UInt4 paramset_size ;
215
+ UInt4 param_bind_type ;
216
+ UInt4 * param_processed_ptr ;
217
+ UInt2 * param_status_ptr ;
218
+ UInt2 * param_operation_ptr ;
219
+ UInt4 * param_offset_ptr ;
212
220
} StatementOptions ;
213
221
214
222
/* Used to pass extra query info to send_query */
Original file line number Diff line number Diff line change @@ -204,6 +204,7 @@ PGAPI_FreeStmt(HSTMT hstmt,
204
204
void
205
205
InitializeStatementOptions (StatementOptions * opt )
206
206
{
207
+ memset (opt , 0 , sizeof (StatementOptions ));
207
208
opt -> maxRows = 0 ; /* driver returns all rows */
208
209
opt -> maxLength = 0 ; /* driver returns all data for char/binary */
209
210
opt -> rowset_size = 1 ;
@@ -213,6 +214,8 @@ InitializeStatementOptions(StatementOptions *opt)
213
214
opt -> bind_size = 0 ; /* default is to bind by column */
214
215
opt -> retrieve_data = SQL_RD_ON ;
215
216
opt -> use_bookmarks = SQL_UB_OFF ;
217
+ opt -> paramset_size = 1 ;
218
+ opt -> param_bind_type = 0 ; /*default is column-wise binding */
216
219
}
217
220
218
221
You can’t perform that action at this time.
0 commit comments