diff options
author | Igor Babaev <igor@askmonty.org> | 2017-12-30 12:29:09 -0800 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2017-12-30 12:29:09 -0800 |
commit | 4f0299f8b3cf19c103138ff656a37c1f672e9de6 (patch) | |
tree | da7c706aed70d0bc25cecdcd1e9715abc9bb69e0 /sql/sql_const.h | |
parent | 7a66e0ab8f52f3bd32850463daa05f9a2401e6b1 (diff) | |
download | mariadb-git-4f0299f8b3cf19c103138ff656a37c1f672e9de6.tar.gz |
This is a full cost-based implementation of the optimization that employs
splitting technique for equi-joins of materialized derived tables/views/CTEs.
(see mdev-13369 and mdev-13389).
Diffstat (limited to 'sql/sql_const.h')
-rw-r--r-- | sql/sql_const.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_const.h b/sql/sql_const.h index 007b7faeebb..65742235bee 100644 --- a/sql/sql_const.h +++ b/sql/sql_const.h @@ -231,6 +231,7 @@ */ #define HEAP_TEMPTABLE_LOOKUP_COST 0.05 #define DISK_TEMPTABLE_LOOKUP_COST 1.0 +#define SORT_INDEX_CMP_COST 0.02 #define MY_CHARSET_BIN_MB_MAXLEN 1 |