summaryrefslogtreecommitdiff
path: root/mysql-test/r/delete.result
diff options
context:
space:
mode:
authorVarun Gupta <varunraiko1803@gmail.com>2018-02-21 16:01:50 +0200
committerVarun Gupta <varunraiko1803@gmail.com>2018-02-21 16:01:50 +0200
commitdbbaaff0fbce203e8c785179b1c559f82f869a69 (patch)
tree7c2f7b683ecf5de051b53cf2bbc97560a4e63c9e /mysql-test/r/delete.result
parent5df9e8de638bcb0c0c877a56e01ae5c59062249a (diff)
downloadmariadb-git-10.3-MDEV-7773.tar.gz
MDEV-15253:Default optimizer setting changes for MariaDB 10.310.3-MDEV-7773
Milestone 1: raising join_cache_level to 4 from 2
Diffstat (limited to 'mysql-test/r/delete.result')
-rw-r--r--mysql-test/r/delete.result6
1 files changed, 3 insertions, 3 deletions
diff --git a/mysql-test/r/delete.result b/mysql-test/r/delete.result
index ed3683d52f9..3ddec34d7ca 100644
--- a/mysql-test/r/delete.result
+++ b/mysql-test/r/delete.result
@@ -205,13 +205,13 @@ insert into t3 values (1,1),(2,1),(1,3);
select * from t1,t2,t3 where t1.a=t2.a AND t2.b=t3.a and t1.b=t3.b;
a b a b a b
1 1 1 1 1 1
-2 1 2 2 2 1
1 3 1 1 1 3
+2 1 2 2 2 1
explain select * from t1,t2,t3 where t1.a=t2.a AND t2.b=t3.a and t1.b=t3.b;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ALL NULL NULL NULL NULL 3
-1 SIMPLE t2 ref PRIMARY PRIMARY 4 test.t1.a 1 Using index
-1 SIMPLE t3 eq_ref PRIMARY PRIMARY 8 test.t2.b,test.t1.b 1 Using index
+1 SIMPLE t2 hash_index PRIMARY #hash#PRIMARY:PRIMARY 4:8 test.t1.a 3 Using index; Using join buffer (flat, BNLH join)
+1 SIMPLE t3 hash_index PRIMARY #hash#PRIMARY:PRIMARY 8:8 test.t2.b,test.t1.b 3 Using index; Using join buffer (incremental, BNLH join)
delete t2.*,t3.* from t1,t2,t3 where t1.a=t2.a AND t2.b=t3.a and t1.b=t3.b;
select * from t3;
a b