bug #2887357 [core] Slow loading times with large databases (partial fix)

This commit is contained in:
Marc Delisle
2009-11-08 11:33:28 +00:00
parent b5d6d4b120
commit caaf02a794
2 changed files with 2 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
- bug #2890451 [setup] Inconsistent generated "designer_coords" - bug #2890451 [setup] Inconsistent generated "designer_coords"
- bug #2890443 [mysqli] "No index used in query" exception is reported - bug #2890443 [mysqli] "No index used in query" exception is reported
- bug #2891250 [ob] Garbled data in navi frame (PHP 5.2.11 bug) - bug #2891250 [ob] Garbled data in navi frame (PHP 5.2.11 bug)
- bug #2887357 [core] Slow loading times with large databases (partial fix)
3.2.3.0 (2009-10-30) 3.2.3.0 (2009-10-30)
- patch #2856664 [export] Date, time, and datetime column types now export correctly to - patch #2856664 [export] Date, time, and datetime column types now export correctly to

View File

@@ -354,7 +354,7 @@ function PMA_DBI_get_tables_full($database, $table = false, $tbl_is_group = fals
// this is why we fall back to SHOW TABLE STATUS even for MySQL >= 50002 // this is why we fall back to SHOW TABLE STATUS even for MySQL >= 50002
if (empty($tables)) { if (empty($tables)) {
foreach ($databases as $each_database) { foreach ($databases as $each_database) {
if (true === $tbl_is_group) { if ($table || (true === $tbl_is_group)) {
$sql = 'SHOW TABLE STATUS FROM ' $sql = 'SHOW TABLE STATUS FROM '
. PMA_backquote($each_database) . PMA_backquote($each_database)
.' LIKE \'' . PMA_escape_mysql_wildcards(addslashes($table)) . '%\''; .' LIKE \'' . PMA_escape_mysql_wildcards(addslashes($table)) . '%\'';