summaryrefslogtreecommitdiff
path: root/mysql-test/r/union.result
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2014-12-02 00:18:57 +0300
committerSergei Petrunia <psergey@askmonty.org>2014-12-02 00:18:57 +0300
commit54392f0a223121fd95ae00590370909415dbdd96 (patch)
tree75c1ce624ce30b1bba1202b5415080b7898a31a6 /mysql-test/r/union.result
parentbf3b4a23f75de50e0f1ab4a562e5801dabc7305b (diff)
downloadmariadb-git-54392f0a223121fd95ae00590370909415dbdd96.tar.gz
MDEV-7245: Incorrect display of subquery cache in union.result
- Do set nest_level and nest_level_base for fake_select_lex objects.
Diffstat (limited to 'mysql-test/r/union.result')
-rw-r--r--mysql-test/r/union.result2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/r/union.result b/mysql-test/r/union.result
index 25de5ee4648..083acc8d5c9 100644
--- a/mysql-test/r/union.result
+++ b/mysql-test/r/union.result
@@ -1617,7 +1617,7 @@ NULL UNION RESULT <union1,2> ALL NULL NULL NULL NULL NULL NULL Using filesort
3 DEPENDENT SUBQUERY t2 ALL NULL NULL NULL NULL 2 100.00 Using where
Warnings:
Note 1276 Field or reference 'a' of SELECT #3 was resolved in SELECT #-1
-Note 1003 select `test`.`t1`.`a` AS `a` from `test`.`t1` union select `test`.`t1`.`a` AS `a` from `test`.`t1` order by <expr_cache><>((select `a` from `test`.`t2` where (`test`.`t2`.`b` = 12)))
+Note 1003 select `test`.`t1`.`a` AS `a` from `test`.`t1` union select `test`.`t1`.`a` AS `a` from `test`.`t1` order by <expr_cache><`a`>((select `a` from `test`.`t2` where (`test`.`t2`.`b` = 12)))
# Should not crash
SELECT * FROM t1 UNION SELECT * FROM t1
ORDER BY (SELECT a FROM t2 WHERE b = 12);