From f459bb6f6ef579aa9916c8d1a6e95b3104955cde Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sun, 7 Dec 2008 13:33:26 +0000 Subject: [PATCH] bug #2009500 [SQL] Small improvements in generated SQL (partial fix) --- ChangeLog | 1 + tbl_create.php | 1 + 2 files changed, 2 insertions(+) diff --git a/ChangeLog b/ChangeLog index 9c50f9966..487063d10 100644 --- a/ChangeLog +++ b/ChangeLog @@ -15,6 +15,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA 3.1.2.0 (not yet released) - bug #1253252 [display] Can't NULL a column with relation defined +- bug #2009500 [SQL] Small improvements in generated SQL (partial fix) 3.1.1.0 (not yet released) - patch #2242765 [core] Navi panel server links wrong, diff --git a/tbl_create.php b/tbl_create.php index c86934c85..df8854a0a 100644 --- a/tbl_create.php +++ b/tbl_create.php @@ -217,6 +217,7 @@ if (isset($_REQUEST['do_save_data'])) { if (!empty($_REQUEST['partition_definition'])) { $sql_query .= ' ' . PMA_sqlAddslashes($_REQUEST['partition_definition']); } + $sql_query .= ';'; // Executes the query $result = PMA_DBI_try_query($sql_query);