= 32322) {
if ($tbl_type == 'MYISAM' or $tbl_type == 'BDB') {
?>
:
-
-
= 3.23.22
// loic1: "OPTIMIZE" statement is available for MyISAM and BDB tables only and
// MyISAM/BDB tables exists since MySQL 3.23.06/3.23.34
else if (PMA_MYSQL_INT_VERSION >= 32306
&& ($tbl_type == 'MYISAM' or $tbl_type == 'BDB')) {
?>
:
= 32322) {
?>
0) {
while ($tmp = mysql_fetch_array($result)) {
if (isset($tmp['Variable_name'])) {
switch ($tmp['Variable_name']) {
case 'have_bdb':
if ($tmp['Value'] == 'YES') {
$tbl_bdb = TRUE;
}
break;
case 'have_gemini':
if ($tmp['Value'] == 'YES') {
$tbl_gemini = TRUE;
}
break;
case 'have_innodb':
if ($tmp['Value'] == 'YES') {
$tbl_innodb = TRUE;
}
break;
case 'have_isam':
if ($tmp['Value'] == 'YES') {
$tbl_isam = TRUE;
}
break;
} // end switch
} // end if isset($tmp['Variable_name'])
} // end while
} // end if $result
mysql_free_result($result);
echo "\n";
?>
= 3.23.22
// Referential integrity check
if (!empty($cfg['Server']['relation'])) {
$local_query = 'SELECT master_field, foreign_table, foreign_field'
. ' FROM ' . $cfg['Server']['relation']
. ' WHERE master_table = \'' . $table . '\';';
// we need this mysql_select_db if the user has access to more than one db
// and $db is not the last of the list, because PMA_availableDatabases()
// has made a mysql_select_db() on the last one
mysql_select_db($db);
$result = @mysql_query($local_query);
if ($result != FALSE && mysql_num_rows($result) > 0) {
?>