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

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2003-04-06 Alexander M. Turek <rabus@users.sourceforge.net>
* db_datadict.php3: The result of SHOW INDEX does not have a 'Comment'
column before MySQL 3.23 (bug #712055).
2003-04-05 Marc Delisle <lem9@users.sourceforge.net> 2003-04-05 Marc Delisle <lem9@users.sourceforge.net>
* lang/romanian updates, thanks to Valics Lehel * lang/romanian updates, thanks to Valics Lehel
* lang/slovenian update, thanks to Kositer Uros * lang/slovenian update, thanks to Kositer Uros
@@ -41,7 +45,7 @@ $Source$
* lang/italian: Updated, thanks to Pietro Danesi. * lang/italian: Updated, thanks to Pietro Danesi.
2003-03-31 Marc Delisle <lem9@users.sourceforge.net> 2003-03-31 Marc Delisle <lem9@users.sourceforge.net>
* css/phpmyadmin.css.php3: calls from a css file are relative to itself * css/phpmyadmin.css.php3: calls from a css file are relative to itself
thanks to Jose Fandos (jose.fandos at sonnd.com) thanks to Jose Fandos (jose.fandos at sonnd.com)
2003-03-27 Alexander M. Turek <rabus@users.sourceforge.net> 2003-03-27 Alexander M. Turek <rabus@users.sourceforge.net>

View File

@@ -121,7 +121,10 @@ while ($row = mysql_fetch_array($rowset)) {
} }
// I don't know what does following column mean.... // I don't know what does following column mean....
// $indexes_info[$row['Key_name']]['Packed'] = $row['Packed']; // $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']; $indexes_data[$row['Key_name']][$row['Seq_in_index']]['Column_name'] = $row['Column_name'];
if (isset($row['Sub_part'])) { if (isset($row['Sub_part'])) {
@@ -276,7 +279,7 @@ while ($row = mysql_fetch_array($rowset)) {
} }
if ($cfgRelation['mimework']) { if ($cfgRelation['mimework']) {
$mime_map = PMA_getMIME($db, $table, true); $mime_map = PMA_getMIME($db, $table, true);
echo ' <td class="print">'; echo ' <td class="print">';
if (isset($mime_map[$field_name])) { if (isset($mime_map[$field_name])) {
echo htmlspecialchars(str_replace('_', '/', $mime_map[$field_name]['mimetype'])); echo htmlspecialchars(str_replace('_', '/', $mime_map[$field_name]['mimetype']));