mirror of
https://github.com/vrana/adminer.git
synced 2025-08-16 03:24:01 +02:00
Always return array from table_status()
This commit is contained in:
@@ -3,7 +3,7 @@ namespace Adminer;
|
||||
|
||||
$TABLE = $_GET["indexes"];
|
||||
$index_types = array("PRIMARY", "UNIQUE", "INDEX");
|
||||
$table_status = table_status($TABLE, true);
|
||||
$table_status = table_status1($TABLE, true);
|
||||
if (preg_match('~MyISAM|M?aria' . (min_version(5.6, '10.0.5') ? '|InnoDB' : '') . '~i', $table_status["Engine"])) {
|
||||
$index_types[] = "FULLTEXT";
|
||||
}
|
||||
|
Reference in New Issue
Block a user