+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2018 |
+ | Copyright CiviCRM LLC (c) 2004-2019 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
* Just another collection of static utils functions.
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2018
+ * @copyright CiviCRM LLC (c) 2004-2019
*/
class CRM_Utils_SQL {
* @return bool
*/
public static function isGroupByModeInDefault() {
- if (!self::supportsFullGroupBy()) {
- return FALSE;
- }
$sqlModes = explode(',', CRM_Core_DAO::singleValueQuery('SELECT @@global.sql_mode'));
if (!in_array('ONLY_FULL_GROUP_BY', $sqlModes)) {
return FALSE;
/**
* Is the Database set up to handle acceents.
+ * @warning This function was introduced in attempt to determine the reason why the test getInternationalStrings was failing on ubu1604 but passing on ubu1204-5
+ * This function should not be used as the basis of further work as the reasoning is not perfact and is giving false failures.
* @return bool
*/
public static function supportStorageOfAccents() {