diff options
author | Sergei Golubchik <serg@mariadb.org> | 2019-06-17 23:33:04 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2019-06-17 23:41:43 +0200 |
commit | b8e655ce029a1f182602c9f12c3cc5931226eec2 (patch) | |
tree | 1eb8d50ce8535fbdfa72251db06809651b681489 /mysql-test/main/grant5.test | |
parent | e85e4814eeca9123b23c23b40dd776416bfba2ca (diff) | |
download | mariadb-git-b8e655ce029a1f182602c9f12c3cc5931226eec2.tar.gz |
bugfix: crash on the empty db namemariadb-10.4.6
followup for 0a43df4fbc7
Diffstat (limited to 'mysql-test/main/grant5.test')
-rw-r--r-- | mysql-test/main/grant5.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/main/grant5.test b/mysql-test/main/grant5.test index 4db262c25c1..43f5b9c180f 100644 --- a/mysql-test/main/grant5.test +++ b/mysql-test/main/grant5.test @@ -124,3 +124,10 @@ connection default; drop database mysqltest_1; drop user twg@'%'; + +# +# test the empty db case +# +insert mysql.tables_priv (host,db,user,table_name,grantor,table_priv) values ('localhost','','otto','t1','root@localhost','select'); +flush privileges; +delete from mysql.tables_priv where db=''; |