Page 1 of 1

Patch for ZPlainMySql5.pas

Posted: 05.02.2010, 17:51
by raul.ferriz
At linux systems (or at least at Debian) libmysqlclient.so.16 is MySQL 5.1 library. This patch allows connect to this library.

--- zeosdbo-6.6.6-old_stable/src/plain/ZPlainMySql5.pas
+++ ZEOSDBO-6.6.6-stable/src/plain/ZPlainMySql5.pas
@@ -80,6 +80,7 @@
WINDOWS_50_DLL_LOCATION_EMBEDDED = 'libmysqld50.dll';
WINDOWS_51_DLL_LOCATION_EMBEDDED = 'libmysqld51.dll';
LINUX1_DLL_LOCATION = 'libmysqlclient.so.15';
+ LINUX2_DLL_LOCATION = 'libmysqlclient.so.16';

{ General Declarations }
// PROTOCOL_VERSION = 10;

Posted: 06.02.2010, 14:58
by mdaems
I did add this to testing branch already. It will move to 6.6-patches in due time.

Mark