Page 1 of 1

[bug_fixed] TZMySQL323PlainDriver

Posted: 07.05.2007, 14:21
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;

Posted: 08.05.2007, 01:15
by mdaems
Thanks. I added the missing line. (Rev 242)

Posted: 08.05.2007, 08:16
by aperger
Hello,

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

Attila

Posted: 08.05.2007, 20:26
by mdaems
Beauty error corrected.