projects
/
psqlodbc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8b6411
)
fix problem with retrieving bad long data from unicode driver
author
Ludek Finstrle
<luf@pzkagis.cz>
Sun, 8 Jan 2006 10:09:52 +0000
(10:09 +0000)
committer
Ludek Finstrle
<luf@pzkagis.cz>
Sun, 8 Jan 2006 10:09:52 +0000
(10:09 +0000)
convert.c
patch
|
blob
|
blame
|
history
diff --git
a/convert.c
b/convert.c
index 5afee205a27372526250a6c0af9577d6c661b783..205b1a03f11a8bad0e71425a27a7a10eea95568e 100644
(file)
--- a/
convert.c
+++ b/
convert.c
@@
-917,7
+917,10
@@
inolog("2stime fr=%d\n", std_time.fr);
/* Add null terminator */
#ifdef UNICODE_SUPPORT
if (fCType == SQL_C_WCHAR)
+ {
memset(rgbValueBindRow + copy_len, 0, WCLEN);
+ wchanged = TRUE;
+ }
else
#endif /* UNICODE_SUPPORT */
rgbValueBindRow[copy_len] = '\0';