diff --git a/adminer/dump.inc.php b/adminer/dump.inc.php index 02b13dd4..58699658 100644 --- a/adminer/dump.inc.php +++ b/adminer/dump.inc.php @@ -169,20 +169,24 @@ if (DB != "") { echo "\n"; $views = ""; - //! defer number of rows to JavaScript - foreach (table_status() as $name => $table_status) { + $tables_list = tables_list(); + foreach ($tables_list as $name => $type) { $prefix = ereg_replace("_.*", "", $name); $checked = ($TABLE == "" || $TABLE == (substr($TABLE, -1) == "%" ? "$prefix%" : $name)); //! % may be part of table name $print = "" . checkbox("tables[]", $name, $checked, $name, "checkboxClick(event, this); formUncheck('check-tables');"); - if (is_view($table_status)) { + if ($type !== null && !eregi("table", $type)) { $views .= "$print\n"; } else { - echo "$print\n"; + echo "$print\n"; } $prefixes[$prefix]++; } echo $views; + if ($tables_list) { + echo "\n"; + } + } else { echo "\n"; $databases = $adminer->databases(); diff --git a/changes.txt b/changes.txt index 06c7fba8..e79cae07 100644 --- a/changes.txt +++ b/changes.txt @@ -13,6 +13,7 @@ Fix resetting search (bug #3612507) Don't use LIMIT 1 if updating unique row (bug #3613109) Restrict editing rows without unique identifier to search results Display navigation bellow main content on mobile browsers +Get number of rows on export page asynchronously MySQL: Optimize create table page and Editor navigation MySQL: Display bit type as binary number MySQL: Improve export of binary data types