mirror of
https://github.com/vrana/adminer.git
synced 2025-08-07 07:06:45 +02:00
Optimize table_status()
This commit is contained in:
@@ -16,7 +16,7 @@ $base_left = -1;
|
||||
$schema = array(); // table => array("fields" => array(name => field), "pos" => array(top, left), "references" => array(table => array(left => array(source, target))))
|
||||
$referenced = array(); // target_table => array(table => array(left => target_column))
|
||||
$lefts = array(); // float => bool
|
||||
foreach (table_status() as $table => $table_status) {
|
||||
foreach (table_status('', true) as $table => $table_status) {
|
||||
if (is_view($table_status)) {
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user