bug 722791

This commit is contained in:
Marc Delisle
2003-04-17 17:56:48 +00:00
parent beef306c0b
commit 84e765c21a
2 changed files with 4 additions and 3 deletions

View File

@@ -7,6 +7,8 @@ $Source$
2003-04-17 Marc Delisle <lem9@users.sourceforge.net> 2003-04-17 Marc Delisle <lem9@users.sourceforge.net>
* lang/ukrainian: update, thanks to Markijan Baran * lang/ukrainian: update, thanks to Markijan Baran
* server_common.inc.php3: bug 722791: "USE mysql" is not a good
test in MySQL 4 to check if superuser
2003-04-17 Michal Cihar <nijel@users.sourceforge.net> 2003-04-17 Michal Cihar <nijel@users.sourceforge.net>
* tbl_replace_fields.php3: Fix typo. * tbl_replace_fields.php3: Fix typo.

View File

@@ -40,6 +40,5 @@ require('./header.inc.php3');
/** /**
* Checks for superuser privileges * Checks for superuser privileges
*/ */
$is_superuser = @PMA_mysql_query('USE mysql', $userlink); $is_superuser = @PMA_mysql_query('SELECT COUNT(*) FROM mysql.user', $userlink);
?>
?>