2014-10-08 09:24:41 +02:00
|
|
|
--source include/not_embedded.inc
|
2019-08-30 15:06:54 +02:00
|
|
|
--source include/default_charset.inc
|
|
|
|
|
2014-10-07 11:55:39 +02:00
|
|
|
#
|
|
|
|
# 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;
|
2018-02-10 13:42:59 +01:00
|
|
|
--replace_column 8 # 12 # 13 # 19 #
|
2014-10-07 11:55:39 +02:00
|
|
|
show table status;
|
|
|
|
drop database mysqltest1;
|