For loic1: bug #547605
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2002-04-23 Alexander M. Turek <rabus@users.sourceforge.net>
|
||||||
|
* libraries/common.lib.php3: fixed bug #547605 using Lo<4C>c's patch.
|
||||||
|
|
||||||
2002-04-22 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
2002-04-22 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||||
* lang/slovak-win1250.inc.php3: completed, thanks to Peter Svec.
|
* lang/slovak-win1250.inc.php3: completed, thanks to Peter Svec.
|
||||||
|
|
||||||
|
@@ -569,7 +569,7 @@ if (!defined('PMA_COMMON_LIB_INCLUDED')){
|
|||||||
if (PMA_MYSQL_INT_VERSION >= 32330) {
|
if (PMA_MYSQL_INT_VERSION >= 32330) {
|
||||||
$local_query = 'SHOW VARIABLES LIKE \'safe_show_database\'';
|
$local_query = 'SHOW VARIABLES LIKE \'safe_show_database\'';
|
||||||
$rs = mysql_query($local_query, $dbh); // Debug: or PMA_mysqlDie('', $local_query, FALSE);
|
$rs = mysql_query($local_query, $dbh); // Debug: or PMA_mysqlDie('', $local_query, FALSE);
|
||||||
$is_safe_show_dbs = mysql_result($rs, 0, 'Value');
|
$is_safe_show_dbs = @mysql_result($rs, 0, 'Value');
|
||||||
|
|
||||||
// ... and if on, try to get the available dbs list
|
// ... and if on, try to get the available dbs list
|
||||||
if ($is_safe_show_dbs && strtoupper($is_safe_show_dbs) != 'OFF') {
|
if ($is_safe_show_dbs && strtoupper($is_safe_show_dbs) != 'OFF') {
|
||||||
|
Reference in New Issue
Block a user