$sqlModes = CRM_Utils_SQL::getSqlModes();
// assert we have strict trans
$this->assertContains('STRICT_TRANS_TABLES', $sqlModes);
- if ($this->_supportFullGroupBy) {
+ if (CRM_Utils_SQL::supportsFullGroupBy()) {
$this->assertContains('ONLY_FULL_GROUP_BY', $sqlModes);
}
}
*/
private static $dbInit = FALSE;
- /**
- * Does the current setup support ONLY_FULL_GROUP_BY mode
- */
- protected $_supportFullGroupBy;
-
/**
* Database connection.
*
// Get and save a connection to the database
$this->_dbconn = $this->getConnection();
- $this->_supportFullGroupBy = CRM_Utils_SQL::supportsFullGroupBy();
-
// reload database before each test
// $this->_populateDB();