summaryrefslogtreecommitdiffstats
path: root/mysql-test/main/union_crash-714.test
blob: 90b849037f23fea37cf4d9cf732d150ec5e7788f (plain)
1
2
3
4
5
6
7
8
9
10
11
#
# MDEV-714 LP:1020645 - crash (sig 11) with union query
#
--source include/have_debug.inc
create table t1 (i tinyint);
SET @saved_dbug = @@SESSION.debug_dbug;
SET debug_dbug='+d,bug11747970_raise_error';
--error ER_QUERY_INTERRUPTED
insert into t1 (i) select i from t1 union select i from t1;
drop table t1;
SET debug_dbug= @saved_dbug;