From f2433304b6a4517574784180c26daa4f2984f74c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 31 Jul 2017 16:35:06 +0200 Subject: [PATCH] Missing newline in ALTER exports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #13523 Signed-off-by: Michal Čihař --- ChangeLog | 1 + libraries/plugins/export/ExportSql.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 23e47c55ff..44eb1e7dc4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,7 @@ phpMyAdmin - ChangeLog 4.7.4 (not yet released) - issue #13415 Remove shadow from the logo - issue #13507 Fixed per server theme feature +- issue #13523 Missing newline in ALTER exports 4.7.3 (2017-07-20) - issue #13447 Large multi-line query removes Export operation and blanks query box options diff --git a/libraries/plugins/export/ExportSql.php b/libraries/plugins/export/ExportSql.php index 2c11ed8693..07cc9c7401 100644 --- a/libraries/plugins/export/ExportSql.php +++ b/libraries/plugins/export/ExportSql.php @@ -1771,7 +1771,7 @@ class ExportSql extends ExportPlugin $sql_auto_increments_query .= ', AUTO_INCREMENT=' . $statement->entityOptions->has('AUTO_INCREMENT'); } - $sql_auto_increments_query .= ';'; + $sql_auto_increments_query .= ';' . $crlf; $sql_auto_increments = $this->generateComment( $crlf,