diff --git a/adminer/drivers/mysql.inc.php b/adminer/drivers/mysql.inc.php index 75a95724..c39e8668 100644 --- a/adminer/drivers/mysql.inc.php +++ b/adminer/drivers/mysql.inc.php @@ -846,7 +846,7 @@ if (!defined("DRIVER")) { * @return Min_Result */ function explain($connection, $query) { - return $connection->query("EXPLAIN $query"); + return $connection->query("EXPLAIN " . ($connection->server_info ? "PARTITIONS " : "") . $query); } /** Get approximate number of rows diff --git a/changes.txt b/changes.txt index 6a0f8781..669437cc 100644 --- a/changes.txt +++ b/changes.txt @@ -3,6 +3,7 @@ Display pagination on a fixed position Display SQL edit form on Ctrl+click on the select query Recover original view, trigger, routine if creating fails Clear column name after resetting search (bug #3601200) +Explain partitions in SQL query (bug #3600150) Allow loading more data with inline edit (bug #3605531) Stay on the same page after deleting rows (bug #3605845) Handle max_input_vars