Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
34153b20
Commit
34153b20
authored
23 years ago
by
Hiroshi Inoue
Browse files
Options
Downloads
Patches
Plain Diff
Preparation for the parameter array handling.
parent
c0b27c4f
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/interfaces/odbc/psqlodbc.h
+9
-1
9 additions, 1 deletion
src/interfaces/odbc/psqlodbc.h
src/interfaces/odbc/statement.c
+3
-0
3 additions, 0 deletions
src/interfaces/odbc/statement.c
with
12 additions
and
1 deletion
src/interfaces/odbc/psqlodbc.h
+
9
−
1
View file @
34153b20
...
...
@@ -5,7 +5,7 @@
*
* Comments: See "notice.txt" for copyright and license information.
*
* $Id: psqlodbc.h,v 1.5
4
2001/11/05
09:46
:1
7
inoue Exp $
* $Id: psqlodbc.h,v 1.5
5
2001/11/05
10:35
:1
4
inoue Exp $
*
*/
...
...
@@ -209,6 +209,14 @@ typedef struct StatementOptions_
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 */
...
...
This diff is collapsed.
Click to expand it.
src/interfaces/odbc/statement.c
+
3
−
0
View file @
34153b20
...
...
@@ -204,6 +204,7 @@ PGAPI_FreeStmt(HSTMT hstmt,
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
;
...
...
@@ -213,6 +214,8 @@ InitializeStatementOptions(StatementOptions *opt)
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 */
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment