diff --git a/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php b/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php index f31389262d70a92ae3e4894c75c9ea40d385ae90..56e4f2da969c63f3142a3d160bacec889c3f3938 100644 --- a/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php +++ b/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php @@ -113,7 +113,7 @@ public static function open(array &$connection_options = array()) { 'init_commands' => array(), ); $connection_options['init_commands'] += array( - 'sql_mode' => "SET sql_mode = 'ANSI,STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER'", + 'sql_mode' => "SET sql_mode = 'ANSI,STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,ONLY_FULL_GROUP_BY'", ); // Execute initial commands. foreach ($connection_options['init_commands'] as $sql) { diff --git a/files.php b/files.php new file mode 100644 index 0000000000000000000000000000000000000000..0489cbe41e9e0ee46bcab476d97dcd4b55ebae41 --- /dev/null +++ b/files.php @@ -0,0 +1,270 @@ +