1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-19 12:51:27 +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

@@ -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();