summaryrefslogtreecommitdiff
path: root/mysql-test/main/type_blob.test
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2020-03-13 15:28:42 +0200
committerMonty <monty@mariadb.org>2020-03-17 02:16:48 +0200
commit1242eb3d32f2863f847aa96a10e2ab983a1a643b (patch)
treeb7e28488f2f6fa75a6a83e3b18c95ef8b53b4e8c /mysql-test/main/type_blob.test
parent96b472c0ae798da43ca9f4735dfafe35b2f38fda (diff)
downloadmariadb-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/type_blob.test')
-rw-r--r--mysql-test/main/type_blob.test1
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/main/type_blob.test b/mysql-test/main/type_blob.test
index df565b187b4..7801280a8d2 100644
--- a/mysql-test/main/type_blob.test
+++ b/mysql-test/main/type_blob.test
@@ -362,6 +362,7 @@ insert into t1 (txt) values
('Chevy'), ('Chevy '), (NULL), ('Honda'), ('Subaru'), ('Honda');
select * from t1 where txt='Chevy' or txt is NULL;
explain select * from t1 where txt='Chevy' or txt is NULL;
+explain select * from t1 FORCE INDEX (`txt_index`) where txt='Chevy' or txt is NULL;
select * from t1 where txt='Chevy ';
select * from t1 where txt='Chevy ' or txt='Chevy';
select * from t1 where txt='Chevy' or txt='Chevy ';