I'm having a little trouble testing for a particular version.
It's easy to test for MySQL:
if (PMA_MYSQL_INT_VERSION < 50603) {
But I also need to test for MariaDB version 10.0.12. I don't see a constant PMA_MARIADB like there is PMA_DRIZZLE so I'm stuck on how to test for a specific MariaDB version. Any hints?
Le 2015-05-29 08:20, Isaac Bennetch a écrit :
I'm having a little trouble testing for a particular version.
It's easy to test for MySQL:
if (PMA_MYSQL_INT_VERSION < 50603) {
But I also need to test for MariaDB version 10.0.12. I don't see a constant PMA_MARIADB like there is PMA_DRIZZLE so I'm stuck on how to test for a specific MariaDB version. Any hints?
Try to combine a test on PMA_MYSQL_STR_VERSION like we have in index.php, with a test on PMA_MYSQL_INT_VERSION 100012.
Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel