MySQL 8: Fix EXPLAIN in SQL command
This commit is contained in:
parent
144039d0cb
commit
124092fd7c
|
@ -950,7 +950,7 @@ if (!defined("DRIVER")) {
|
||||||
* @return Min_Result
|
* @return Min_Result
|
||||||
*/
|
*/
|
||||||
function explain($connection, $query) {
|
function explain($connection, $query) {
|
||||||
return $connection->query("EXPLAIN " . (min_version(5.1) ? "PARTITIONS " : "") . $query);
|
return $connection->query("EXPLAIN " . (min_version(5.1) && !min_version(5.7) ? "PARTITIONS " : "") . $query);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Get approximate number of rows
|
/** Get approximate number of rows
|
||||||
|
|
|
@ -2,6 +2,7 @@ Adminer 4.7.10-dev:
|
||||||
Skip date columns for non-date values in search anywhere
|
Skip date columns for non-date values in search anywhere
|
||||||
Add DB version to comment in export
|
Add DB version to comment in export
|
||||||
Support PHP 8 in create table (regression from 4.7.9)
|
Support PHP 8 in create table (regression from 4.7.9)
|
||||||
|
MySQL 8: Fix EXPLAIN in SQL command
|
||||||
|
|
||||||
Adminer 4.7.9 (released 2021-02-07):
|
Adminer 4.7.9 (released 2021-02-07):
|
||||||
Fix XSS in browsers which don't encode URL parameters (bug #775, regression from 4.7.0)
|
Fix XSS in browsers which don't encode URL parameters (bug #775, regression from 4.7.0)
|
||||||
|
|
Loading…
Reference in a new issue