[bug_fixed] TZMySQL323PlainDriver

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

Moderators: gto, cipto_kh, EgonHugeist, mdaems

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

[bug_fixed] TZMySQL323PlainDriver

Post by aperger »

Hi,

I found bug in (rev: 241; test SVN branch) ZPlainMySqlDriver.pas, there was not defined the header for:

Code: Select all

TZMySQL323PlainDriver = class (...)


function SslSet(Handle: PZMySQLConnect; const Key, Cert, Ca, Capath, Cipher: PChar): Integer;

Code: Select all

Here is the patch:
Index: src/plain/ZPlainMySqlDriver.pas
===================================================================
--- src/plain/ZPlainMySqlDriver.pas	(revision 241)
+++ src/plain/ZPlainMySqlDriver.pas	(working copy)
@@ -480,6 +480,7 @@
 
     function SelectDatabase(Handle: PZMySQLConnect;
       const Database: PChar): Integer;
+    function SslSet(Handle: PZMySQLConnect; const Key, Cert, Ca, Capath, Cipher: PChar): Integer;
     function CreateDatabase(Handle: PZMySQLConnect;
       const Database: PChar): Integer;
     function DropDatabase(Handle: PZMySQLConnect;
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Thanks. I added the missing line. (Rev 242)
User avatar
aperger
Expert Boarder
Expert Boarder
Posts: 129
Joined: 24.08.2005, 08:24
Location: Veszprém
Contact:

Post by aperger »

Hello,

A Line Break is missing after the SslSet(...) function.

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

Post by mdaems »

Beauty error corrected.
Post Reply