diff options
Diffstat (limited to 'mysql-test/main/alter_user.test')
-rw-r--r-- | mysql-test/main/alter_user.test | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mysql-test/main/alter_user.test b/mysql-test/main/alter_user.test index ef20f79a554..9ea98615272 100644 --- a/mysql-test/main/alter_user.test +++ b/mysql-test/main/alter_user.test @@ -1,5 +1,7 @@ --source include/not_embedded.inc +select priv into @root_priv from mysql.global_priv where user='root' and host='localhost'; + select * from mysql.user where user = 'root' and host = 'localhost'; --echo # Test syntax --echo # @@ -82,4 +84,4 @@ alter user foo with MAX_QUERIES_PER_HOUR 10 select * from mysql.user where user = 'foo'; drop user foo; -update mysql.user set plugin=''; +update mysql.global_priv set priv=@root_priv where user='root' and host='localhost'; |