projects
/
psqlodbc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfd215e
)
Fix the bug that SQLGetDescField() for Field SQL_DESC_COUNT returns SQLINTEGER value...
author
Hiroshi Inoue
<h-inoue@dream.email.ne.jp>
Thu, 27 Jun 2019 12:35:42 +0000
(21:35 +0900)
committer
Hiroshi Inoue
<h-inoue@dream.email.ne.jp>
Mon, 22 Jul 2019 01:36:53 +0000
(10:36 +0900)
pgapi30.c
patch
|
blob
|
blame
|
history
diff --git
a/pgapi30.c
b/pgapi30.c
index ba0dd6d731bbccd81392def43ae9b10e9c013aef..1fc7101b110a8daafa04139c3330d8902132d5c3 100644
(file)
--- a/
pgapi30.c
+++ b/
pgapi30.c
@@
-1237,7
+1237,7
@@
MYLOG(DETAIL_LOG_LEVEL, "RecN=%d allocated=%d\n", RecNumber, opts->allocated);
ptr = opts->parameters[para_idx].used;
break;
case SQL_DESC_COUNT:
- ret = SQL_IS_SMALLINT;
+ ret
type
= SQL_IS_SMALLINT;
ival = opts->allocated;
break;
case SQL_DESC_ALLOC_TYPE: /* read-only */