diff --git a/ChangeLog b/ChangeLog index cf647a1a2..a979e133a 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,12 @@ phpMyAdmin - Changelog $Id$ $Source$ +2001-07-18 Steve Alberty + * left.php3: add 'or mysql_die()' for mysql_list_dbs to suppress + 'unable to save result' warnings + * defines.inc.php3: fix bug #442493 and add second version + identification. if fails mysql_major_version=3.21 + 2001-07-18 Marc Delisle * tbl_change.php3, bug 442337: a bad line split was adding a blank in front of the $sql_query, so a check for ^SELECT would not work diff --git a/left.php3 b/left.php3 index 595e403f9..3f5a17406 100755 --- a/left.php3 +++ b/left.php3 @@ -21,7 +21,7 @@ require('./lib.inc.php3'); if ($server > 0) { // Get databases list if (empty($dblist)) { - $dbs = mysql_list_dbs(); + $dbs = @mysql_list_dbs() or mysql_die(); $num_dbs = mysql_numrows($dbs); } else { $num_dbs = count($dblist);