From 2f4da6996533fd087687ab27e5e43a211dfd4618 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Tue, 27 Jan 2004 18:18:28 +0000 Subject: [PATCH] bug 884606 --- ChangeLog | 3 +++ main.php | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2fccbf9d2..af5a8f6de 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ phpMyAdmin - Changelog $Id$ $Source$ +2004-01-27 Marc Delisle + * main.php: bug 884606, MySQL version check before server choice + 2004-01-26 Robin Johnson * libraries/dbi/mysql.dbi.lib.php: Correct the default parameter for PMA_DBI_insert_id($link = '') and convert file back to UNIX linefeeds. diff --git a/main.php b/main.php index dd68333ba..475f20a8b 100644 --- a/main.php +++ b/main.php @@ -645,8 +645,8 @@ if (PMA_PHP_INT_VERSION < 40100) { /** * Warning for old MySQL version */ - -if (PMA_MYSQL_INT_VERSION < 32332) { +// not yet defined before the server choice +if (defined('PMA_MYSQL_INT_VERSION') && PMA_MYSQL_INT_VERSION < 32332) { echo '

' . sprintf($strUpgrade, 'MySQL', '3.23.32') . '

' . "\n"; }