summaryrefslogtreecommitdiff
path: root/mysql-test/main/grant5.result
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-08-10 17:56:08 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2020-08-10 17:56:08 +0300
commit0025eb3f963fdca88028ff14a27d9b9638079337 (patch)
tree09ae14a45e658e6783b8a3c57a955a931194c03e /mysql-test/main/grant5.result
parentc19335ea5359923c918b07ef9892c14408414b4d (diff)
parent4668e079eed635c9ff19a39e584202d3a4e590c1 (diff)
downloadmariadb-git-0025eb3f963fdca88028ff14a27d9b9638079337.tar.gz
Merge mariadb-10.3.24
Diffstat (limited to 'mysql-test/main/grant5.result')
-rw-r--r--mysql-test/main/grant5.result13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/main/grant5.result b/mysql-test/main/grant5.result
index 6f474e3d52a..8fec77cdba4 100644
--- a/mysql-test/main/grant5.result
+++ b/mysql-test/main/grant5.result
@@ -25,6 +25,19 @@ ERROR HY000: Table 'user' was not locked with LOCK TABLES
REVOKE PROCESS ON *.* FROM u;
ERROR HY000: Table 'user' was not locked with LOCK TABLES
DROP TABLE t1;
+create database mysqltest1;
+use mysqltest1;
+create table t1(id int);
+insert t1 values(2);
+create user u1@localhost;
+grant select on mysqltest1.t1 to u1@localhost;
+grant update on mysqltest1.* to u1@localhost;
+connect u1, localhost, u1;
+update mysqltest1.t1 set id=1 where id=2;
+connection default;
+disconnect u1;
+drop user u1@localhost;
+drop database mysqltest1;
#
# MDEV-20076: SHOW GRANTS does not quote role names properly
#