mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
11 lines
452 B
Text
11 lines
452 B
Text
#
|
|
# MDEV-17898 FLUSH PRIVILEGES crashes server with segfault
|
|
#
|
|
use mysql;
|
|
insert db (db,user,select_priv) values ('foo','dwr_foo','Y'), ('bar','dwr_bar','Y');
|
|
insert roles_mapping (user,role) values ('dwr_qux_dev','dwr_foo'),('dwr_qux_dev','dwr_bar');
|
|
insert ignore user (user,show_db_priv,is_role) values ('dwr_foo','N','Y'), ('dwr_bar','N','Y'), ('dwr_qux_dev','Y','Y');
|
|
flush privileges;
|
|
drop role dwr_foo;
|
|
drop role dwr_bar;
|
|
drop role dwr_qux_dev;
|