On Fri, 28 Aug 2015, Koenraad Lelong wrote:

Hi,

What defines the TMySQL-connection-version ? Are those the installed libraries on the client ? Or is it the server ?

Is it possible to detect which version of MySQL/MariaDB is used , and according to the result select the right connection, at run-time ?

Load the mysql library manually and check the version returned by

function mysql_get_client_version:culong;

By far the easiest, I would imagine ?

Michael.

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to