From 2b9041e2425434b742e9f4a48eec40da59900aba Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Tue, 27 Apr 2010 15:56:13 +0000 Subject: [PATCH] Respect partitioning support (thanks to paranoiq) git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1504 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- adminer/create.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminer/create.inc.php b/adminer/create.inc.php index b1d4d4b9..cdb02417 100644 --- a/adminer/create.inc.php +++ b/adminer/create.inc.php @@ -68,7 +68,7 @@ if ($_POST && !$error && !$_POST["add"] && !$_POST["drop_col"] && !$_POST["up"] ? " (" . implode(",", $partitions) . "\n)" : ($_POST["partitions"] ? " PARTITIONS " . intval($_POST["partitions"]) : "") ); - } elseif ($TABLE != "") { + } elseif ($TABLE != "" && support("partitioning")) { $partitioning .= "\nREMOVE PARTITIONING"; } $message = lang('Table has been altered.');