summaryrefslogtreecommitdiff
path: root/mysql-test/t/explain_non_select.test
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2013-10-10 20:30:32 +0400
committerSergey Petrunya <psergey@askmonty.org>2013-10-10 20:30:32 +0400
commit094f70fd1908c17c0ebc4b6942e3bebed0a236ba (patch)
tree4058348c37c0ec18249690e111a9cb1a13c55b16 /mysql-test/t/explain_non_select.test
parent582ecb2a253ed2c9e26a2e61102da4bf4ede72d3 (diff)
downloadmariadb-git-094f70fd1908c17c0ebc4b6942e3bebed0a236ba.tar.gz
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.
Diffstat (limited to 'mysql-test/t/explain_non_select.test')
-rw-r--r--mysql-test/t/explain_non_select.test1
1 files changed, 0 insertions, 1 deletions
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;
-