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;