Skip to content

Commit

Permalink
Merge pull request #11395 from seamuslee001/CRM-21534
Browse files Browse the repository at this point in the history
CRM-21534 - Fix invocation of test for MariaDB
  • Loading branch information
colemanw authored Dec 11, 2017
2 parents 76b75c5 + 6454ff5 commit 72b9dfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Utils/SQL.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public static function supportsFullGroupBy() {
// CRM-21455 MariaDB 10.2 does not support ANY_VALUE
$version = CRM_Core_DAO::singleValueQuery('SELECT VERSION()');

if (stripos('mariadb', $version) !== FALSE) {
if (stripos($version, 'mariadb') !== FALSE) {
return FALSE;
}

Expand Down

0 comments on commit 72b9dfa

Please sign in to comment.