Fixed some typos.
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2003-08-20 Alexander M. Turek <rabus@users.sourceforge.net>
|
||||
* server_privileges.php3: Fixed some typos.
|
||||
|
||||
2003-08-18 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* lang/romanian: Updated, thanks to Valics Lehel.
|
||||
* lang/turkish update, thanks to Bora Alioglu
|
||||
|
@@ -744,12 +744,12 @@ if (!empty($update_privs)) {
|
||||
$sql_query1 = 'REVOKE GRANT OPTION ON ' . $db_and_table . ' FROM "' . PMA_sqlAddslashes($username) . '"@"' . $hostname . '";';
|
||||
}
|
||||
$sql_query2 = 'GRANT ' . join(', ', PMA_extractPrivInfo()) . ' ON ' . $db_and_table . ' TO "' . PMA_sqlAddslashes($username) . '"@"' . $hostname . '"';
|
||||
if ((isset($Grant_priv) && $Grant_priv == 'Y') || (empty($dbname) && PMA_INT_VERSION >= 40002 && (isset($max_questions) || isset($max_connections) || isset($max_updates)))) {
|
||||
if ((isset($Grant_priv) && $Grant_priv == 'Y') || (empty($dbname) && PMA_MYSQL_INT_VERSION >= 40002 && (isset($max_questions) || isset($max_connections) || isset($max_updates)))) {
|
||||
$sql_query2 .= 'WITH';
|
||||
if (isset($Grant_priv) && $Grant_priv == 'Y') {
|
||||
$sql_query2 .= ' GRANT OPTION';
|
||||
}
|
||||
if (PMA_INT_VERSION >= 40002) {
|
||||
if (PMA_MYSQL_INT_VERSION >= 40002) {
|
||||
if (isset($max_questions)) {
|
||||
$sql_query2 .= ' MAX_QUERIES_PER_HOUR ' . (int)$max_questions;
|
||||
}
|
||||
|
Reference in New Issue
Block a user