bug 722791
This commit is contained in:
@@ -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.
|
||||||
|
@@ -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);
|
||||||
|
?>
|
||||||
?>
|
|
||||||
|
Reference in New Issue
Block a user