Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
34153b20
Commit
34153b20
authored
Nov 05, 2001
by
Hiroshi Inoue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Preparation for the parameter array handling.
parent
c0b27c4f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
src/interfaces/odbc/psqlodbc.h
src/interfaces/odbc/psqlodbc.h
+9
-1
src/interfaces/odbc/statement.c
src/interfaces/odbc/statement.c
+3
-0
No files found.
src/interfaces/odbc/psqlodbc.h
View file @
34153b20
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
*
*
* Comments: See "notice.txt" for copyright and license information.
* Comments: See "notice.txt" for copyright and license information.
*
*
* $Id: psqlodbc.h,v 1.5
4 2001/11/05 09:46:17
inoue Exp $
* $Id: psqlodbc.h,v 1.5
5 2001/11/05 10:35:14
inoue Exp $
*
*
*/
*/
...
@@ -209,6 +209,14 @@ typedef struct StatementOptions_
...
@@ -209,6 +209,14 @@ typedef struct StatementOptions_
UInt4
*
rowsFetched
;
UInt4
*
rowsFetched
;
UInt2
*
rowStatusArray
;
UInt2
*
rowStatusArray
;
void
*
bookmark_ptr
;
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
;
}
StatementOptions
;
/* Used to pass extra query info to send_query */
/* Used to pass extra query info to send_query */
...
...
src/interfaces/odbc/statement.c
View file @
34153b20
...
@@ -204,6 +204,7 @@ PGAPI_FreeStmt(HSTMT hstmt,
...
@@ -204,6 +204,7 @@ PGAPI_FreeStmt(HSTMT hstmt,
void
void
InitializeStatementOptions
(
StatementOptions
*
opt
)
InitializeStatementOptions
(
StatementOptions
*
opt
)
{
{
memset
(
opt
,
0
,
sizeof
(
StatementOptions
));
opt
->
maxRows
=
0
;
/* driver returns all rows */
opt
->
maxRows
=
0
;
/* driver returns all rows */
opt
->
maxLength
=
0
;
/* driver returns all data for char/binary */
opt
->
maxLength
=
0
;
/* driver returns all data for char/binary */
opt
->
rowset_size
=
1
;
opt
->
rowset_size
=
1
;
...
@@ -213,6 +214,8 @@ InitializeStatementOptions(StatementOptions *opt)
...
@@ -213,6 +214,8 @@ InitializeStatementOptions(StatementOptions *opt)
opt
->
bind_size
=
0
;
/* default is to bind by column */
opt
->
bind_size
=
0
;
/* default is to bind by column */
opt
->
retrieve_data
=
SQL_RD_ON
;
opt
->
retrieve_data
=
SQL_RD_ON
;
opt
->
use_bookmarks
=
SQL_UB_OFF
;
opt
->
use_bookmarks
=
SQL_UB_OFF
;
opt
->
paramset_size
=
1
;
opt
->
param_bind_type
=
0
;
/*default is column-wise binding */
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment