Misleading on system diagnostics (MariaDB), fixed.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Sat, 25 Nov 2017 09:00:46 +0000 (10:00 +0100)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Sat, 25 Nov 2017 09:00:46 +0000 (10:00 +0100)
includes/system_tests.inc

index 1e8881a164842600a784819921764d8c41703134..3b8c8bbde4faf6291d743041427bcb1f156c7428 100644 (file)
@@ -24,7 +24,7 @@ function tst_mysql()
        $test['descr'] = _('MySQL version'). ' >=4.1';
        $test['type'] = 3;
        $test['test'] = db_get_version();
-       $test['result'] = $test['test']>='4.1';
+       $test['result'] = $test['test']>='4.1' || explode('-', $test['test'])[1] == 'MariaDB';
        $test['comments'] = _('Upgrade MySQL server to version at least 4.1');
 
        return $test;