out of sync

This commit is contained in:
Alexander M. Turek
2004-07-13 16:17:32 +00:00
parent 820c7c199f
commit 75d67d3c4f
2 changed files with 6 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ $Source$
* libraries/mysql_charsets.lib.php, lang/*.inc.php: Updated collation * libraries/mysql_charsets.lib.php, lang/*.inc.php: Updated collation
definitions for MySQL 4.1.3 and 4.1.4. definitions for MySQL 4.1.3 and 4.1.4.
* lang/german-*.inc.php: Updates. * lang/german-*.inc.php: Updates.
* db_details_db_info.php: Fixed a few "out of sync" errors.
2004-07-12 Marc Delisle <lem9@users.sourceforge.net> 2004-07-12 Marc Delisle <lem9@users.sourceforge.net>
* all themes/colors.inc.php, libraries/common.lib.php, * all themes/colors.inc.php, libraries/common.lib.php,

View File

@@ -66,6 +66,8 @@ if ($cfg['SkipLockedTables'] == TRUE) {
if (!isset($sot_cache[$tmp[0]])) { if (!isset($sot_cache[$tmp[0]])) {
$sts_result = PMA_DBI_query('SHOW TABLE STATUS FROM ' . PMA_backquote($db) . ' LIKE \'' . addslashes($tmp[0]) . '\';'); $sts_result = PMA_DBI_query('SHOW TABLE STATUS FROM ' . PMA_backquote($db) . ' LIKE \'' . addslashes($tmp[0]) . '\';');
$sts_tmp = PMA_DBI_fetch_assoc($sts_result); $sts_tmp = PMA_DBI_fetch_assoc($sts_result);
PMA_DBI_free_result($sts_result);
unset($sts_result);
if (!isset($sts_tmp['Type']) && isset($sts_tmp['Engine'])) { if (!isset($sts_tmp['Type']) && isset($sts_tmp['Engine'])) {
$sts_tmp['Type'] =& $sts_tmp['Engine']; $sts_tmp['Type'] =& $sts_tmp['Engine'];
@@ -88,6 +90,9 @@ if ($cfg['SkipLockedTables'] == TRUE) {
$sot_ready = TRUE; $sot_ready = TRUE;
} }
} }
} else {
PMA_DBI_free_result($db_info_result);
unset($db_info_result);
} }
} }
if (!isset($sot_ready)) { if (!isset($sot_ready)) {