projects
/
psqlodbc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efc410a
)
Forget to apply disable_convert_func flag to VARCHAR and LONGVARCHAR.
author
Hiroshi Inoue
<h-inoue@dream.email.ne.jp>
Wed, 21 Apr 2021 03:43:30 +0000
(12:43 +0900)
committer
Hiroshi Inoue
<h-inoue@dream.email.ne.jp>
Wed, 21 Apr 2021 23:14:27 +0000
(08:14 +0900)
info.c
patch
|
blob
|
blame
|
history
diff --git
a/info.c
b/info.c
index 39d86f71e43492d55c57e16ce9d16c29997fbd81..76735c1118f32c664a0ed91bc2399d3bc396f706 100644
(file)
--- a/
info.c
+++ b/
info.c
@@
-167,7
+167,7
@@
MYLOG(0, "SQL_CONVERT_ mask=" FORMAT_ULEN "\n", value);
case SQL_CONVERT_VARCHAR: /* ODBC 1.0 */
case SQL_CONVERT_LONGVARCHAR:
len = sizeof(SQLUINTEGER);
- value = SQL_CVT_BIT | PG_CONVERT_NUM | PG_CONVERT_CH | PG_CONVERT_WCH;
+ value =
ci->disable_convert_func ? 0 :
SQL_CVT_BIT | PG_CONVERT_NUM | PG_CONVERT_CH | PG_CONVERT_WCH;
break;
case SQL_CONVERT_DATE:
len = sizeof(SQLUINTEGER);