Skip to content

Commit

Permalink
CRM-21534 fix invokation of test for MariaDB
Browse files Browse the repository at this point in the history
  • Loading branch information
seamuslee001 authored and sluc23 committed Jan 10, 2018
1 parent e4fae52 commit d14dbd7
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 d14dbd7

Please sign in to comment.