This commit is contained in:
Alexander M. Turek
2003-04-06 10:46:15 +00:00
parent 858b01340b
commit fdff6ab1cc
2 changed files with 10 additions and 3 deletions

View File

@@ -121,7 +121,10 @@ while ($row = mysql_fetch_array($rowset)) {
}
// I don't know what does following column mean....
// $indexes_info[$row['Key_name']]['Packed'] = $row['Packed'];
$indexes_info[$row['Key_name']]['Comment'] = $row['Comment'];
if (PMA_MYSQL_INT_VERSION >= 32300) {
// rabus: The 'Comment' field was added in MySQL 3.23.0.
$indexes_info[$row['Key_name']]['Comment'] = $row['Comment'];
}
$indexes_data[$row['Key_name']][$row['Seq_in_index']]['Column_name'] = $row['Column_name'];
if (isset($row['Sub_part'])) {
@@ -276,7 +279,7 @@ while ($row = mysql_fetch_array($rowset)) {
}
if ($cfgRelation['mimework']) {
$mime_map = PMA_getMIME($db, $table, true);
echo ' <td class="print">';
if (isset($mime_map[$field_name])) {
echo htmlspecialchars(str_replace('_', '/', $mime_map[$field_name]['mimetype']));