" . $row['Comment'] . "
\n";
}
$result = mysql_query("SHOW KEYS FROM $table") or mysql_die();
$primary = "";
while($row = mysql_fetch_array($result))
if ($row["Key_name"] == "PRIMARY")
$primary .= "$row[Column_name], ";
$result = mysql_query("SHOW FIELDS FROM $table") or mysql_die();
?>
0)
{
?>
>
|
|
|
|
";
if($row["Key_name"] == "PRIMARY")
{
$sql_query = urlencode("ALTER TABLE ".$table." DROP PRIMARY KEY");
$zero_rows = urlencode($strPrimaryKey." ".$strHasBeenDropped);
}
else
{
$sql_query = urlencode("ALTER TABLE ".$table." DROP INDEX ".$row["Key_name"]);
$zero_rows = urlencode($strIndex." ".$row["Key_name"]." ".$strHasBeenDropped);
}
?>
|
|
|
$strDrop";?> |
";
}
print "
\n";
print show_docu("manual_Performance.html#MySQL_indexes");
}
?>
";
require("./footer.inc.php3");
?>