Skip to content

Commit

Permalink
Merge pull request civicrm#11413 from seamuslee001/CRM-21534-29
Browse files Browse the repository at this point in the history
CRM-21534 - Fix invocation of test for MariaDB
  • Loading branch information
totten authored and sluc23 committed Jan 10, 2018
2 parents e4fae52 + d14dbd7 commit 9dec5af
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 9dec5af

Please sign in to comment.