projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b638c71
)
CRM-21534 fix invokation of test for MariaDB
author
Seamus Lee
<seamuslee001@gmail.com>
Sat, 9 Dec 2017 01:35:36 +0000
(12:35 +1100)
committer
Seamus Lee
<seamuslee001@gmail.com>
Fri, 15 Dec 2017 08:01:21 +0000
(19:01 +1100)
CRM/Utils/SQL.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/SQL.php
b/CRM/Utils/SQL.php
index a82614e465ff2abc66715cf49b5f39d0a98fde6c..dba0c9ebe82c11716372070d138222e07af30a7a 100644
(file)
--- a/
CRM/Utils/SQL.php
+++ b/
CRM/Utils/SQL.php
@@
-80,7
+80,7
@@
class CRM_Utils_SQL {
// 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;
}