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

Code patches written by our users to solve certain "problems" that were not solved, yet.

Moderators: gto, cipto_kh, EgonHugeist, mdaems

User avatar
aperger
Expert Boarder
Expert Boarder
Posts: 129
Joined: 24.08.2005, 08:24
Location: Veszprém
Contact:

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

Postby aperger » 14.09.2010, 14:53

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;
You do not have the required permissions to view the files attached to this post.

User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Postby mdaems » 19.09.2010, 22:03

aperger,
I had to add a compiler based IFDEF, but your change has been applied with SVN rev. 815.

Mark
Image

User avatar
aperger
Expert Boarder
Expert Boarder
Posts: 129
Joined: 24.08.2005, 08:24
Location: Veszprém
Contact:

Postby aperger » 20.09.2010, 07:47

Hi...

Ooohhhh I forgot it... :-)


Return to “User Patches”

Who is online

Users browsing this forum: No registered users and 1 guest