summaryrefslogtreecommitdiff
path: root/mysql-test/r/subselect4.result
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2012-02-28 15:41:55 +0100
committerSergei Golubchik <sergii@pisem.net>2012-02-28 15:41:55 +0100
commit54f9fe6c8b0472f0e12602eabf94ff4d73161806 (patch)
tree90bfc8f53487f31bab64efc39e4ad75f10f993b6 /mysql-test/r/subselect4.result
parent45faabf44f6f307e86fb9ba4b5e1b3557f9b4d54 (diff)
downloadmariadb-git-54f9fe6c8b0472f0e12602eabf94ff4d73161806.tar.gz
lp:938977 - Query performance with join/index super slow on MariaDB 5.3.4RC
make sure that stored routines are evaluated (that is, de facto - cached) in convert_const_to_int(). revert the fix for lp:806943 because it cannot be repeated anymore. add few tests for convert_const_to_int()
Diffstat (limited to 'mysql-test/r/subselect4.result')
-rw-r--r--mysql-test/r/subselect4.result31
1 files changed, 0 insertions, 31 deletions
diff --git a/mysql-test/r/subselect4.result b/mysql-test/r/subselect4.result
index e8822ebf6bd..ff822113338 100644
--- a/mysql-test/r/subselect4.result
+++ b/mysql-test/r/subselect4.result
@@ -1820,37 +1820,6 @@ AND t2.f2 = t1.f1;
f1 f2 f1 f2
drop table t1,t2,t3,t4;
#
-# LP BUG#806943 Second crash with select_describe with nested subqueries in maria-5.3
-#
-CREATE TABLE t1 ( f4 int) ;
-INSERT INTO t1 VALUES (0),(0);
-CREATE TABLE t2 ( f2 int) ;
-CREATE TABLE t3 ( f1 int NOT NULL );
-CREATE TABLE t4 ( f2 int, f3 int) ;
-INSERT INTO t4 VALUES (8,0),(3,0);
-EXPLAIN SELECT *
-FROM t2, t3
-WHERE t3.f1 = (
-SELECT SUM( f2 )
-FROM t4
-WHERE EXISTS (
-SELECT DISTINCT f4
-FROM t1));
-id select_type table type possible_keys key key_len ref rows Extra
-1 PRIMARY NULL NULL NULL NULL NULL NULL NULL Impossible WHERE noticed after reading const tables
-2 SUBQUERY t4 ALL NULL NULL NULL NULL 2
-3 SUBQUERY t1 ALL NULL NULL NULL NULL 2
-SELECT *
-FROM t2, t3
-WHERE t3.f1 = (
-SELECT SUM( f2 )
-FROM t4
-WHERE EXISTS (
-SELECT DISTINCT f4
-FROM t1));
-f2 f1
-drop table t1, t2, t3, t4;
-#
# LP BUG#611690 Crash in select_describe() with nested subqueries
#
CREATE TABLE t1 (