[Phpmyadmin-devel] PMA_MYSQL_INT_VERSION and MariaDB
marc at infomarc.info
marc at infomarc.info
Fri May 29 16:29:17 CEST 2015
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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
More information about the Developers
mailing list