do not overwrite already cached table infos

This commit is contained in:
Sebastian Mendel
2008-12-10 09:18:14 +00:00
parent b4a1282e1c
commit 4c3f3a068f

View File

@@ -404,7 +404,7 @@ function PMA_DBI_get_tables_full($database, $table = false,
// cache table data
// so PMA_Table does not require to issue SHOW TABLE STATUS again
PMA_Table::$cache = $tables;
PMA_Table::$cache = array_merge_recursive(PMA_Table::$cache, $tables);
if (! is_array($database)) {
if (isset($tables[$database])) {