Fix table footer when MySQL does not support collations (bug #1554885, patch #1557269, thanks to Isaac Bennetch - ibennetch).
This commit is contained in:
@@ -5,6 +5,11 @@ phpMyAdmin - ChangeLog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2006-09-14 Michal Čihař <michal@cihar.com>
|
||||
* db_details_structure.php: Fix table footer when MySQL does not support
|
||||
collations (bug #1554885, patch #1557269, thanks to Isaac Bennetch -
|
||||
ibennetch).
|
||||
|
||||
2006-09-12 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* libraries/config.default.php, libraries/export/sql.php:
|
||||
bug #1556934, sql compatibility mode on export
|
||||
|
@@ -408,6 +408,8 @@ if (!($cfg['PropertiesNumColumns'] > 1)) {
|
||||
echo ' <th align="center">' . "\n"
|
||||
. ' <dfn title="'
|
||||
. sprintf($strDefaultEngine, $default_engine) . '">' .$default_engine . '</th>' . "\n";
|
||||
// Have to account for old MySQL with no collation (bug 1554885)
|
||||
if (PMA_MYSQL_INT_VERSION >= 40100) {
|
||||
// we got a case where $db_collation was empty
|
||||
echo ' <th align="center">' . "\n";
|
||||
if (! empty($db_collation)) {
|
||||
@@ -417,6 +419,7 @@ if (!($cfg['PropertiesNumColumns'] > 1)) {
|
||||
}
|
||||
echo '</th>';
|
||||
}
|
||||
}
|
||||
|
||||
if ($is_show_stats) {
|
||||
?>
|
||||
|
Reference in New Issue
Block a user