diff options
author | Monty <monty@mariadb.org> | 2020-03-13 15:28:42 +0200 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2020-03-17 02:16:48 +0200 |
commit | 1242eb3d32f2863f847aa96a10e2ab983a1a643b (patch) | |
tree | b7e28488f2f6fa75a6a83e3b18c95ef8b53b4e8c /mysql-test/main/func_in.result | |
parent | 96b472c0ae798da43ca9f4735dfafe35b2f38fda (diff) | |
download | mariadb-git-1242eb3d32f2863f847aa96a10e2ab983a1a643b.tar.gz |
Removed double records_in_range calls from multi_range_read_info_const
This was to remove a performance regression between 10.3 and 10.4
In 10.5 we will have a better implementation of records_in_range
that will enable us to get more statistics.
This change was not done in 10.4 because the 10.5 will be part of
a larger change that is not suitable for the GA 10.4 version
Other things:
- Changed default handler block_size to 8192 to fix things statistics
for engines that doesn't set the block size.
- Fixed a bug in spider when using multiple part const ranges
(Patch from Kentoku)
Diffstat (limited to 'mysql-test/main/func_in.result')
-rw-r--r-- | mysql-test/main/func_in.result | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/main/func_in.result b/mysql-test/main/func_in.result index 79f5f555681..9a3c1dba045 100644 --- a/mysql-test/main/func_in.result +++ b/mysql-test/main/func_in.result @@ -717,11 +717,11 @@ id select_type table type possible_keys key key_len ref rows Extra EXPLAIN SELECT * FROM t1 WHERE c_timestamp IN ('2009-09-01 00:00:01', '2009-09-01 00:00:02', '2009-09-01 00:00:03'); id select_type table type possible_keys key key_len ref rows Extra -1 SIMPLE t1 ALL c_timestamp NULL NULL NULL 20 Using where +1 SIMPLE t1 range c_timestamp c_timestamp 4 NULL 3 Using index condition EXPLAIN SELECT * FROM t1 WHERE c_timestamp IN (NULL, '2009-09-01 00:00:01', '2009-09-01 00:00:02', '2009-09-01 00:00:03'); id select_type table type possible_keys key key_len ref rows Extra -1 SIMPLE t1 ALL c_timestamp NULL NULL NULL 20 Using where +1 SIMPLE t1 range c_timestamp c_timestamp 4 NULL 3 Using index condition EXPLAIN SELECT * FROM t1 WHERE c_timestamp IN (NULL); id select_type table type possible_keys key key_len ref rows Extra 1 SIMPLE NULL NULL NULL NULL NULL NULL NULL Impossible WHERE noticed after reading const tables |