1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-11 09:04:02 +02:00

MySQL 5.0-: Do not load partitioning info in alter table (fix #1099)

This commit is contained in:
Jakub Vrana
2025-05-30 13:28:28 +02:00
parent 92b95606c1
commit 246c3c489b
2 changed files with 2 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
## Adminer dev
- Allow specifying operator in search anywhere
- MySQL 5.0-: Do not load partitioning info in alter table (bug #1099)
- PostgreSQL 11-: Avoid duplicate oid in table status (bug #1089)
- Plugins: Methods processList() and killProcess()

View File

@@ -3,7 +3,7 @@ namespace Adminer;
$TABLE = $_GET["create"];
$partition_by = driver()->partitionBy;
$partitions_info = driver()->partitionsInfo($TABLE);
$partitions_info = ($partition_by ? driver()->partitionsInfo($TABLE) : array());
$referencable_primary = referencable_primary($TABLE);
$foreign_keys = array();