]> git.joonet.de Git - adminer.git/commitdiff
Respect partitioning support (thanks to paranoiq)
authorjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Tue, 27 Apr 2010 15:56:13 +0000 (15:56 +0000)
committerjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Tue, 27 Apr 2010 15:56:13 +0000 (15:56 +0000)
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1504 7c3ca157-0c34-0410-bff1-cbf682f78f5c

adminer/create.inc.php

index b1d4d4b974c966568f21c3c0cf93817da983c2bb..cdb02417045ee7264a034b21dd3776c8c2cc0246 100644 (file)
@@ -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.');