suppres warnings
This commit is contained in:
@@ -5,6 +5,12 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2001-07-18 Steve Alberty <alberty@neptunlabs.de>
|
||||||
|
* 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 <lem9@users.sourceforge.net>
|
2001-07-18 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* tbl_change.php3, bug 442337: a bad line split was adding a blank
|
* 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
|
in front of the $sql_query, so a check for ^SELECT would not work
|
||||||
|
@@ -21,7 +21,7 @@ require('./lib.inc.php3');
|
|||||||
if ($server > 0) {
|
if ($server > 0) {
|
||||||
// Get databases list
|
// Get databases list
|
||||||
if (empty($dblist)) {
|
if (empty($dblist)) {
|
||||||
$dbs = mysql_list_dbs();
|
$dbs = @mysql_list_dbs() or mysql_die();
|
||||||
$num_dbs = mysql_numrows($dbs);
|
$num_dbs = mysql_numrows($dbs);
|
||||||
} else {
|
} else {
|
||||||
$num_dbs = count($dblist);
|
$num_dbs = count($dblist);
|
||||||
|
Reference in New Issue
Block a user