Page 1 of 1

[patch_done] ADO - 7.0.0-dev (rev.812)

Posted: 14.09.2010, 14:53
by aperger
This patch fixes handling of the Unicode string fields under D2010:

Code: Select all

Index: dbc/ZDbcAdoUtils.pas
===================================================================
--- dbc/ZDbcAdoUtils.pas	(revision 812)
+++ dbc/ZDbcAdoUtils.pas	(working copy)
@@ -286,6 +286,7 @@
 {$ENDIF}
     varStrArg: Result := adWChar;
     varString: Result := adVarChar;
+    varUString: Result := adVarChar;
     varAny: Result := adEmpty;
   else
     Result := adEmpty;

Posted: 19.09.2010, 22:03
by mdaems
aperger,
I had to add a compiler based IFDEF, but your change has been applied with SVN rev. 815.

Mark

Posted: 20.09.2010, 07:47
by aperger
Hi...

Ooohhhh I forgot it... :-)