Index: includes/database/mysql/database.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/database/mysql/database.inc,v retrieving revision 1.12 diff -u -r1.12 database.inc --- includes/database/mysql/database.inc 23 Dec 2008 07:48:24 -0000 1.12 +++ includes/database/mysql/database.inc 24 Dec 2008 01:20:11 -0000 @@ -40,7 +40,7 @@ // kinds of database systems. These settings force MySQL to behave // the same as postgresql, or sqlite in regards to syntax interpretation // and invalid data handling. See http://drupal.org/node/344575 for further disscussion. - $this->exec("SET sql_mode='ANSI,TRADITIONAL,ONLY_FULL_GROUP_BY'"); + $this->exec("SET sql_mode='ANSI,TRADITIONAL'"); } public function queryRange($query, array $args, $from, $count, array $options = array()) { Index: modules/simpletest/tests/database_test.test =================================================================== RCS file: /cvs/drupal/drupal/modules/simpletest/tests/database_test.test,v retrieving revision 1.28 diff -u -r1.28 database_test.test --- modules/simpletest/tests/database_test.test 23 Dec 2008 07:48:24 -0000 1.28 +++ modules/simpletest/tests/database_test.test 24 Dec 2008 01:20:14 -0000 @@ -2019,7 +2019,7 @@ ->fields('test', array('name', 'age')) ->condition('age', array(17, 75),'IN') ->execute()->fetchObject(); - $this->assertFalse($record, $e->getMessage() .':: '. t('Insert aborted as expected.')); + $this->assertFalse($record, t('Insert aborted as expected.')); } }