summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2014-12-06 20:34:33 +0300
committerSergei Petrunia <psergey@askmonty.org>2014-12-06 20:34:33 +0300
commitb372720177cececb499b96b5e6d422b32d85729c (patch)
treec62835a82e243e487808e0eea2ab0ef3e4a2da49
parent913b7672c5fe2db750a382685f0810d383b43faa (diff)
downloadmariadb-git-b372720177cececb499b96b5e6d422b32d85729c.tar.gz
Update test resultsbb-10.1-explain-json
-rw-r--r--mysql-test/r/explain_json.result70
1 files changed, 35 insertions, 35 deletions
diff --git a/mysql-test/r/explain_json.result b/mysql-test/r/explain_json.result
index 5998912e0c5..9e1a3e08cdc 100644
--- a/mysql-test/r/explain_json.result
+++ b/mysql-test/r/explain_json.result
@@ -779,41 +779,6 @@ EXPLAIN
}
}
DROP TABLE t1,t2;
-#
-# MDEV-7264: Assertion `0' failed in subselect_engine::get_identifier() on EXPLAIN JSON
-#
-CREATE TABLE t1 (a INT);
-INSERT INTO t1 VALUES (1),(2);
-CREATE TABLE t2 (b INT);
-INSERT INTO t2 VALUES (3),(4);
-EXPLAIN FORMAT=JSON SELECT * FROM t1 WHERE a <> ALL ( SELECT b FROM t2 );
-EXPLAIN
-{
- "query_block": {
- "select_id": 1,
- "table": {
- "table_name": "t1",
- "access_type": "ALL",
- "rows": 2,
- "filtered": 100,
- "attached_condition": "(not(<in_optimizer>(t1.a,t1.a in (subquery#2))))"
- },
- "subqueries": [
- {
- "query_block": {
- "select_id": 2,
- "table": {
- "table_name": "t2",
- "access_type": "ALL",
- "rows": 2,
- "filtered": 100
- }
- }
- }
- ]
- }
-}
-DROP TABLE t1, t2;
#
# Join's constant expression
#
@@ -865,3 +830,38 @@ EXPLAIN
}
drop table t1;
drop table t0;
+#
+# MDEV-7264: Assertion `0' failed in subselect_engine::get_identifier() on EXPLAIN JSON
+#
+CREATE TABLE t1 (a INT);
+INSERT INTO t1 VALUES (1),(2);
+CREATE TABLE t2 (b INT);
+INSERT INTO t2 VALUES (3),(4);
+EXPLAIN FORMAT=JSON SELECT * FROM t1 WHERE a <> ALL ( SELECT b FROM t2 );
+EXPLAIN
+{
+ "query_block": {
+ "select_id": 1,
+ "table": {
+ "table_name": "t1",
+ "access_type": "ALL",
+ "rows": 2,
+ "filtered": 100,
+ "attached_condition": "(not(<in_optimizer>(t1.a,t1.a in (subquery#2))))"
+ },
+ "subqueries": [
+ {
+ "query_block": {
+ "select_id": 2,
+ "table": {
+ "table_name": "t2",
+ "access_type": "ALL",
+ "rows": 2,
+ "filtered": 100
+ }
+ }
+ }
+ ]
+ }
+}
+DROP TABLE t1, t2;