From e09365c2d50ed60af8d72ac4deca3fa9eb4f509d Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Wed, 20 Aug 2003 14:27:05 +0000 Subject: [PATCH] Fixed some typos. --- ChangeLog | 5 ++++- server_privileges.php3 | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0da95e8c2..c66bc8d1c 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ phpMyAdmin - Changelog $Id$ $Source$ +2003-08-20 Alexander M. Turek + * server_privileges.php3: Fixed some typos. + 2003-08-18 Marc Delisle * 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 - * 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 diff --git a/server_privileges.php3 b/server_privileges.php3 index fd0a696ae..3d626c511 100644 --- a/server_privileges.php3 +++ b/server_privileges.php3 @@ -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; }