From 06eaf7232e9a920468c0f8d74dcf2fe8b555501c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 14:24:36 +0200 Subject: Adding upstream version 1:10.11.6. Signed-off-by: Daniel Baumann --- mysql-test/suite/roles/drop_current_user-5176.test | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 mysql-test/suite/roles/drop_current_user-5176.test (limited to 'mysql-test/suite/roles/drop_current_user-5176.test') diff --git a/mysql-test/suite/roles/drop_current_user-5176.test b/mysql-test/suite/roles/drop_current_user-5176.test new file mode 100644 index 00000000..27051345 --- /dev/null +++ b/mysql-test/suite/roles/drop_current_user-5176.test @@ -0,0 +1,14 @@ +# +# MDEV-5176 Server crashes in fill_schema_applicable_roles on select from APPLICABLE_ROLES after a suicide +# +--source include/not_embedded.inc + +create user foo@localhost; +grant create user on *.* to foo@localhost; +--connect (foo,localhost,foo,,) +drop user foo@localhost; +select * from information_schema.applicable_roles; +--error ER_NONEXISTING_GRANT +show grants; +select current_user(); + -- cgit v1.2.3