From 3f619478f796eddbba6e39502fe941b285dd97b1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 20:00:34 +0200 Subject: Adding upstream version 1:10.11.6. Signed-off-by: Daniel Baumann --- mysql-test/main/show_bad_definer-5553.test | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 mysql-test/main/show_bad_definer-5553.test (limited to 'mysql-test/main/show_bad_definer-5553.test') diff --git a/mysql-test/main/show_bad_definer-5553.test b/mysql-test/main/show_bad_definer-5553.test new file mode 100644 index 00000000..38b61348 --- /dev/null +++ b/mysql-test/main/show_bad_definer-5553.test @@ -0,0 +1,14 @@ +--source include/not_embedded.inc +--source include/default_charset.inc + +# +# MDEV-5553 A view or procedure with a non existing definer can block "SHOW TABLE STATUS" with an unclear error message +# + +create database mysqltest1; # all-open privileges on test db desroy the test +use mysqltest1; +create table t1(id int primary key); +create definer=unknownuser@'%' sql security definer view v1 as select t1.id from t1 group by t1.id; +--replace_column 8 # 12 # 13 # 19 # +show table status; +drop database mysqltest1; -- cgit v1.2.3