Fixed some typos.

This commit is contained in:
Alexander M. Turek
2003-08-20 14:27:05 +00:00
parent 2f65d02cdb
commit e09365c2d5
2 changed files with 6 additions and 3 deletions

View File

@@ -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
@@ -17,7 +20,7 @@ $Source$
* lang/serbian: Updated, thanks to Mihailo Stefanovic (mikis).
2003-08-17 Marc Delisle <lem9@users.sourceforge.net>
* browse_foreigners.php3, tbl_change.php3, tbl_select.php3,
* browse_foreigners.php3, tbl_change.php3, tbl_select.php3,
libraries/display_tbl.lib.php3, /relation.lib.php3, /get_foreign.lib.php3:
Patch 789367: Browse foreign values, thanks to Garvin
### 2.5.3-rc2 released

View File

@@ -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;
}