diff --git a/ChangeLog b/ChangeLog index 8e1ef65b9..d8b9c8dc7 100755 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ $Source$ 2006-03-14 Marc Delisle * libraries/common.lib.php: bug #1449715, loading of binary data very slow + * server_privileges.php: compatibility with MySQL < 4.0.2 2006-03-13 Marc Delisle * libraries/Config.class.php, /common.lib.php: bug #1445120, diff --git a/server_privileges.php b/server_privileges.php index a039f423c..5482f1e37 100644 --- a/server_privileges.php +++ b/server_privileges.php @@ -506,7 +506,7 @@ function PMA_displayPrivTable($db = '*', $table = '*', $submit = TRUE, $indent = echo $spaces . ' ' . "\n"; // The "Resource limits" box is not displayed for db-specific privs - if ($db == '*') { + if ($db == '*' && PMA_MYSQL_INT_VERSION >= 40002) { echo $spaces . '
' . "\n" . $spaces . ' ' . $GLOBALS['strResourceLimits'] . '' . "\n" . $spaces . '

' . $GLOBALS['strZeroRemovesTheLimit'] . '

' . "\n"