This commit is contained in:
Marc Delisle
2004-10-19 17:08:30 +00:00
parent 56a4cdc4cd
commit f5f49f7030
2 changed files with 9 additions and 1 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2004-10-19 Marc Delisle <lem9@users.sourceforge.net>
* libraries/database_interface.lib.php: bug #1041667, correctly
check the server version instead of the client API version
2004-10-19 Michal Čihař <michal@cihar.com>
* export.php: Use just \n for SQL exports (bug #1042521).
* libraries/read_dump.lib.php: Set correct return value (bug #1048861).

View File

@@ -40,7 +40,11 @@ function PMA_DBI_get_dblist($link = NULL) {
// Before MySQL 4.0.2, SHOW DATABASES could send the
// whole list, so check if we really have access:
if (PMA_MYSQL_CLIENT_API < 40002) {
//if (PMA_MYSQL_CLIENT_API < 40002) {
// Better check the server version, in case the client API
// is more recent than the server version
if (PMA_MYSQL_INT_VERSION < 40002) {
$dblink = @PMA_DBI_select_db($row[0], $link);
if (!$dblink) {
continue;