projects
/
psqlodbc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5be5dd
)
ctype_length() is missing the length for SQL_C_BIGINT and SQL_C_NUMERIC(patch by...
author
Hiroshi Inoue
<inoue@tpf.co.jp>
Mon, 16 Jun 2014 11:42:09 +0000
(20:42 +0900)
committer
Hiroshi Inoue
<inoue@tpf.co.jp>
Mon, 16 Jun 2014 11:42:09 +0000
(20:42 +0900)
pgtypes.c
patch
|
blob
|
blame
|
history
diff --git
a/pgtypes.c
b/pgtypes.c
index d7bde0ab11863171f17d3a1a534c23a9001c838f..8e1e0993249e8f2d25717d1d9b62042bd163f275 100644
(file)
--- a/
pgtypes.c
+++ b/
pgtypes.c
@@
-2372,6
+2372,11
@@
ctype_length(SQLSMALLINT ctype)
case SQL_C_INTERVAL_HOUR_TO_SECOND:
case SQL_C_INTERVAL_MINUTE_TO_SECOND:
return sizeof(SQL_INTERVAL_STRUCT);
+ case SQL_C_NUMERIC:
+ return sizeof(SQL_NUMERIC_STRUCT);
+ case SQL_C_SBIGINT:
+ case SQL_C_UBIGINT:
+ return sizeof(SQLBIGINT);
#endif /* ODBCVER */
case SQL_C_BINARY: