From 4f0299f8b3cf19c103138ff656a37c1f672e9de6 Mon Sep 17 00:00:00 2001 From: Igor Babaev Date: Sat, 30 Dec 2017 12:29:09 -0800 Subject: 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). --- sql/sql_const.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sql/sql_const.h') 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 -- cgit v1.2.1