summaryrefslogtreecommitdiff
path: root/tests/grant.pl
diff options
context:
space:
mode:
authorram@gw.mysql.r18.ru <>2004-12-02 13:34:30 +0400
committerram@gw.mysql.r18.ru <>2004-12-02 13:34:30 +0400
commitc78eefbc9514cd805ec706cff43ee4413064edbe (patch)
treec596bb93ad8484a3ee8304221ae337a4af3061c8 /tests/grant.pl
parent50c02f463b7fd4337796e4cd835e7adc86c98e44 (diff)
downloadmariadb-git-c78eefbc9514cd805ec706cff43ee4413064edbe.tar.gz
Fixes (bug #6932: 'revoke all privileges...' doesn't remove all proper columns from columns_priv
bug #6933: error in the tests/grant.pl test).
Diffstat (limited to 'tests/grant.pl')
-rw-r--r--tests/grant.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/grant.pl b/tests/grant.pl
index eb2d00f3e1d..cd6a2eb80de 100644
--- a/tests/grant.pl
+++ b/tests/grant.pl
@@ -74,9 +74,9 @@ safe_query("revoke select(user) on mysql.user from $user");
safe_query("grant select on *.* to $user");
safe_query("set password FOR ${opt_user}2\@$opt_host = password('test')",1);
-safe_query("set password FOR $opt_user=password('test')");
+safe_query("set password FOR $opt_user\@$opt_host=password('test')");
user_connect(1);
-safe_query("set password FOR $opt_user=''");
+safe_query("set password FOR $opt_user\@$opt_host=''");
user_connect(0);
user_query("select * from mysql.user where user = '$opt_user'");
user_query("select * from mysql.db where user = '$opt_user'");