diff options
author | Sergei Golubchik <serg@mariadb.org> | 2022-10-07 15:14:50 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2022-10-07 15:24:02 +0200 |
commit | 5f26f50020e9a41f644893088e94de74de55f95d (patch) | |
tree | 84f0658d3d0128275cf60fb978f1c7e3113e2c0e /mysql-test/main/grant3.test | |
parent | 3fe55fa8be9bdfbaefc69e0cd7dea12833fe9cbb (diff) | |
download | mariadb-git-5f26f50020e9a41f644893088e94de74de55f95d.tar.gz |
typo fixed, followup for 3fe55fa8be9
Diffstat (limited to 'mysql-test/main/grant3.test')
-rw-r--r-- | mysql-test/main/grant3.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/main/grant3.test b/mysql-test/main/grant3.test index 67c185bcccd..5337d59efd8 100644 --- a/mysql-test/main/grant3.test +++ b/mysql-test/main/grant3.test @@ -224,6 +224,16 @@ create table t1 as values (1),(2),(3); create table t1 (a int); disconnect foo; connection default; + +revoke create on db1.* from foo@localhost; +grant insert on db1.* to foo@localhost; +connect foo,localhost,foo; +use db1; +--error ER_TABLEACCESS_DENIED_ERROR +create table t2 as values (1),(2),(3); +disconnect foo; + +connection default; drop user foo@localhost; drop database db1; |