projects
/
psqlodbc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4a7028
)
Since commit 778571, SQLGetTypeInfo() filters SQL_TYPE_DATE, SQL_TYPE_TIME and SQL_TY...
author
Hiroshi Inoue
<h-inoue@dream.email.ne.jp>
Thu, 25 Jul 2019 03:51:13 +0000
(12:51 +0900)
committer
Hiroshi Inoue
<h-inoue@dream.email.ne.jp>
Thu, 1 Aug 2019 09:57:45 +0000
(18:57 +0900)
Per report from Michael Riksman.
info.c
patch
|
blob
|
blame
|
history
diff --git
a/info.c
b/info.c
index 452dabfb9cfd8c1fc61b1abdf7e0ddfbedb656fb..7626f3a24c5e1783dad7737210e971d4fa5005da 100644
(file)
--- a/
info.c
+++ b/
info.c
@@
-1155,8
+1155,8
@@
PGAPI_GetTypeInfo(HSTMT hstmt,
{
EnvironmentClass *env = CC_get_env(conn);
- /* Filter unsupported data types */
- if (EN_is_odbc2(env))
+ /* Filter unsupported data types
when fSqlType = SQL_ALL_TYPES
*/
+ if (
SQL_ALL_TYPES == fSqlType &&
EN_is_odbc2(env))
{
switch (sqlType)
{