From 094f70fd1908c17c0ebc4b6942e3bebed0a236ba Mon Sep 17 00:00:00 2001 From: Sergey Petrunya Date: Thu, 10 Oct 2013 20:30:32 +0400 Subject: MDEV-5106: Server crashes in Explain_union::print_explain on ER_TOO_BIG_SELECT - Don't save UNION's EXPLAIN data if optimization failed with an error. We could end up saving incomplete plan, which will cause a crash when we attempt to print it. --- mysql-test/t/explain_non_select.test | 1 - 1 file changed, 1 deletion(-) (limited to 'mysql-test/t/explain_non_select.test') diff --git a/mysql-test/t/explain_non_select.test b/mysql-test/t/explain_non_select.test index 7220a00bd2a..316cc1bf8d2 100644 --- a/mysql-test/t/explain_non_select.test +++ b/mysql-test/t/explain_non_select.test @@ -169,4 +169,3 @@ explain insert into t2 values (11, 1+(select max(a+1) from t1)); drop table t1,t2; - -- cgit v1.2.1