projects
/
psqlodbc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d1999d
)
Oops I forgot to set the value to the buffer.
author
Hiroshi Inoue
<inoue@tpf.co.jp>
Wed, 29 Oct 2008 13:40:54 +0000
(13:40 +0000)
committer
Hiroshi Inoue
<inoue@tpf.co.jp>
Wed, 29 Oct 2008 13:40:54 +0000
(13:40 +0000)
convert.c
patch
|
blob
|
blame
|
history
diff --git
a/convert.c
b/convert.c
index 23c033d2fbb7a2897861d867e545b480265c914c..f0f7833e64bea21c9698ea96a25a64884ec7f9ea 100644
(file)
--- a/
convert.c
+++ b/
convert.c
@@
-1557,6
+1557,11
@@
inolog("SQL_C_VARBOOKMARK value=%d\n", ival);
mylog("Could not convert to SQL_C_GUID");
return COPY_UNSUPPORTED_TYPE;
}
+ len = sizeof(g);
+ if (bind_size > 0)
+ *((SQLGUID *) rgbValueBindRow) = g;
+ else
+ *((SQLGUID *) rgbValue + bind_row) = g;
break;
#endif /* ODBCVER */