Join GitHub today
0013728: False detection MariaDB version #6790
Reported by hobbyist on 24 Jan 2018 11:54
Version: 2017.08.11 Community Edition
MariaDB reports it's version in different strings depending on what os oder PHP-drivers one uses. It differs between e.g. "5.5.5-10.0.17-MariaDB-log" and "10.0.17-MariaDB-log". This effect is discussed on http://php.net/manual/de/mysqli.get-server-info.php, for example. It does not affect only on windows systems, as you can think reading the article.
tine2.0 uses different methods to calculate the sql-server's version. Especially the preg_match in vendor/zendframework/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php grabs the 5.5.5 in the long version term and returns version 5.5.5 instead of 10.0.17 or as in my case 10.2.12.
Additional information: https://www.tine20.org/forum/viewtopic.php?f=12&p=68036