My favorites | Sign in
Project Home Downloads Wiki
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions

Issue 78 attachment: wchar-fix.diff (412 bytes)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/getdata.cpp b/src/getdata.cpp
index a487ae3..660116b 100644
--- a/src/getdata.cpp
+++ b/src/getdata.cpp
@@ -262,7 +262,8 @@ GetDataString(Cursor* cur, int iCol)
case SQL_WCHAR:
case SQL_WVARCHAR:
case SQL_WLONGVARCHAR:
- nTargetType = SQL_C_WCHAR;
+ //nTargetType = SQL_C_WCHAR;
+ nTargetType = SQL_C_CHAR;
break;

default:
Powered by Google Project Hosting