diff --git a/ChangeLog b/ChangeLog index 034f12206..9728a4bdc 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ phpMyAdmin - Changelog $Id$ $Source$ +2003-04-06 Alexander M. Turek + * 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 * lang/romanian updates, thanks to Valics Lehel * lang/slovenian update, thanks to Kositer Uros @@ -41,7 +45,7 @@ $Source$ * lang/italian: Updated, thanks to Pietro Danesi. 2003-03-31 Marc Delisle - * 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) 2003-03-27 Alexander M. Turek diff --git a/db_datadict.php3 b/db_datadict.php3 index 2c453fe44..be629a165 100644 --- a/db_datadict.php3 +++ b/db_datadict.php3 @@ -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 ' '; if (isset($mime_map[$field_name])) { echo htmlspecialchars(str_replace('_', '/', $mime_map[$field_name]['mimetype']));