Respect partitioning support (thanks to paranoiq)
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1504 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
d90bde5bf9
commit
2b9041e242
|
@ -68,7 +68,7 @@ if ($_POST && !$error && !$_POST["add"] && !$_POST["drop_col"] && !$_POST["up"]
|
||||||
? " (" . implode(",", $partitions) . "\n)"
|
? " (" . implode(",", $partitions) . "\n)"
|
||||||
: ($_POST["partitions"] ? " PARTITIONS " . intval($_POST["partitions"]) : "")
|
: ($_POST["partitions"] ? " PARTITIONS " . intval($_POST["partitions"]) : "")
|
||||||
);
|
);
|
||||||
} elseif ($TABLE != "") {
|
} elseif ($TABLE != "" && support("partitioning")) {
|
||||||
$partitioning .= "\nREMOVE PARTITIONING";
|
$partitioning .= "\nREMOVE PARTITIONING";
|
||||||
}
|
}
|
||||||
$message = lang('Table has been altered.');
|
$message = lang('Table has been altered.');
|
||||||
|
|
Loading…
Reference in a new issue