diff --git a/adminer/dump.inc.php b/adminer/dump.inc.php index f6e9a48b..998cce88 100644 --- a/adminer/dump.inc.php +++ b/adminer/dump.inc.php @@ -22,7 +22,8 @@ SET foreign_key_checks = 0; " . ($_POST["data_style"] ? "SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO'; " : "") . " "; - $connection->query("SET time_zone = '+00:00';"); + $connection->query("SET time_zone = '+00:00'"); + $connection->query("SET sql_mode = ''"); } } diff --git a/changes.txt b/changes.txt index d3ddbdd5..ec16cd74 100644 --- a/changes.txt +++ b/changes.txt @@ -1,5 +1,6 @@ Adminer 4.7.9-dev: Elasticsearch, ClickHouse: Do not print response if HTTP code is not 200 +MySQL: Do not export names in quotes with sql_mode='ANSI_QUOTES' (bug #749) PostgreSQL: Export all FKs after all CREATE TABLE (PR #351) PostgreSQL: Fix dollar-quoted syntax highlighting (bug #738) PostgreSQL 10: Support GENERATED ALWAYS BY IDENTITY (PR #386)