summaryrefslogtreecommitdiff
path: root/mysql-test/t/sp_missing_4665.test
blob: 19e845e58c76d0d8708602ef2e9ed34f54ab14d8 (plain)
1
2
3
4
5
6
7
8
9
#
# MDEV-4665 crash when referencing missing function in a subquery
#
create table t (a int);
create or replace view v as select 1 from t where a;
--error ER_SP_DOES_NOT_EXIST
delete from v where (select g());
drop view v;
drop table t;