Commit f8fc9a18 authored by Dries's avatar Dries

- Patch #1136854 by chx: Fixed MySQL 5.5 breaks speedy testing.

parent 9764f077
......@@ -60,8 +60,10 @@ public function __construct(array $connection_options = array()) {
// This allows Drupal to run almost seamlessly on many different
// 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 for further discussion.
$this->exec("SET sql_mode='ANSI,TRADITIONAL'");
// and invalid data handling. See for
// further discussion. Also, as MySQL 5.5 changed the meaning of
// TRADITIONAL we need to spell out the modes one by one.
public function queryRange($query, $from, $count, array $args = array(), array $options = array()) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment