1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 07:36:44 +02:00

Use standard view detection in schema

This commit is contained in:
Jakub Vrana
2013-04-26 19:11:42 -07:00
parent 8ae8507972
commit fd5e6ef343

View File

@@ -17,7 +17,7 @@ $schema = array(); // table => array("fields" => array(name => field), "pos" =>
$referenced = array(); // target_table => array(table => array(left => target_column)) $referenced = array(); // target_table => array(table => array(left => target_column))
$lefts = array(); // float => bool $lefts = array(); // float => bool
foreach (table_status() as $table => $table_status) { foreach (table_status() as $table => $table_status) {
if (!isset($table_status["Engine"])) { // view if (is_view($table_status)) {
continue; continue;
} }
$pos = 0; $pos = 0;