back to the welcome page if (mysql_error() != '') { header('Location: ' . $cfgPmaAbsoluteUri . 'main.php3?lang=' . $lang . '&server=' . $server . '&reload=true'); exit(); } // speedup view on locked tables - staybyte - 11 June 2001 if ($num_tables > 0 && MYSQL_INT_VERSION >= 32303) { // Special speedup for newer MySQL Versions (in 4.0 format changed) if ($cfgSkipLockedTables == TRUE && MYSQL_INT_VERSION >= 32330) { $local_query = 'SHOW OPEN TABLES FROM ' . backquote($db); $result = mysql_query($query) or mysql_die('', $local_query); // Blending out tables in use if ($result != FALSE && mysql_num_rows($result) > 0) { while ($tmp = mysql_fetch_array($result)) { // if in use memorize tablename if (eregi('in_use=[1-9]+', $tmp)) { $sot_cache[$tmp[0]] = TRUE; } } mysql_free_result($result); if (isset($sot_cache)) { $local_query = 'SHOW TABLES FROM ' . backquote($db); $result = mysql_query($query) or mysql_die('', $local_query); if ($result != FALSE && mysql_num_rows($result) > 0) { while ($tmp = mysql_fetch_array($result)) { if (!isset($sot_cache[$tmp[0]])) { $local_query = 'SHOW TABLE STATUS FROM ' . backquote($db) . ' LIKE \'' . addslashes($tmp[0]) . '\''; $sts_result = mysql_query($local_query) or mysql_die('', $local_query); $sts_tmp = mysql_fetch_array($sts_result) or mysql_die('', $local_query); $tbl_cache[] = $sts_tmp; } else { // table in use $tbl_cache[] = array('Name' => $tmp[0]); } } mysql_free_result($result); $sot_ready = TRUE; } } } } if (!isset($sot_ready)) { $local_query = 'SHOW TABLE STATUS FROM ' . backquote($db); $result = mysql_query($local_query) or mysql_die('', $local_query); if ($result != FALSE && mysql_num_rows($result) > 0) { while ($sts_tmp = mysql_fetch_array($result)) { $tbl_cache[] = $sts_tmp; } mysql_free_result($result); } } } // 2. Displays tables if ($num_tables == 0) { echo $strNoTablesFound . "\n"; } // show table size on mysql >= 3.23 - staybyte - 11 June 2001 else if (MYSQL_INT_VERSION >= 32300 && isset($tbl_cache)) { ?>
0) { list($formated_size, $unit) = format_byte_down($tblsize, 3, 1); } else { list($formated_size, $unit) = format_byte_down($tblsize, 3, 0); } } else { $formated_size = ' - '; $unit = ''; } if (isset($sts_data['Rows'])) { $sum_entries += $sts_data['Rows']; } } // MyISAM MERGE Table else if ($mergetable == TRUE) { $formated_size = ' - '; $unit = ''; } else { $formated_size = 'unknown'; $unit = ''; } ?>
  
    ' . number_format($sts_data['Rows'], 0, $number_decimal_separator, $number_thousands_separator) . '' . "\n"; } else { echo number_format($sts_data['Rows'], 0, $number_decimal_separator, $number_thousands_separator) . "\n"; } ?>      
   --
<?php echo $strWithChecked; ?>      
= 3.23 else { $i = 0; echo "\n"; ?>
  
  
<?php echo $strWithChecked; ?>