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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user