summaryrefslogtreecommitdiff
path: root/sql/sql_priv.h
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2017-12-30 12:29:09 -0800
committerIgor Babaev <igor@askmonty.org>2017-12-30 12:29:09 -0800
commit4f0299f8b3cf19c103138ff656a37c1f672e9de6 (patch)
treeda7c706aed70d0bc25cecdcd1e9715abc9bb69e0 /sql/sql_priv.h
parent7a66e0ab8f52f3bd32850463daa05f9a2401e6b1 (diff)
downloadmariadb-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_priv.h')
-rw-r--r--sql/sql_priv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_priv.h b/sql/sql_priv.h
index f40ac6f2663..ba37d933f12 100644
--- a/sql/sql_priv.h
+++ b/sql/sql_priv.h
@@ -227,7 +227,7 @@
#define OPTIMIZER_SWITCH_EXISTS_TO_IN (1ULL << 28)
#define OPTIMIZER_SWITCH_ORDERBY_EQ_PROP (1ULL << 29)
#define OPTIMIZER_SWITCH_COND_PUSHDOWN_FOR_DERIVED (1ULL << 30)
-#define OPTIMIZER_SWITCH_SPLIT_GROUPING_DERIVED (1ULL << 31)
+#define OPTIMIZER_SWITCH_SPLIT_MATERIALIZED (1ULL << 31)
#define OPTIMIZER_SWITCH_DEFAULT (OPTIMIZER_SWITCH_INDEX_MERGE | \
OPTIMIZER_SWITCH_INDEX_MERGE_UNION | \
@@ -254,7 +254,7 @@
OPTIMIZER_SWITCH_EXISTS_TO_IN | \
OPTIMIZER_SWITCH_ORDERBY_EQ_PROP | \
OPTIMIZER_SWITCH_COND_PUSHDOWN_FOR_DERIVED | \
- OPTIMIZER_SWITCH_SPLIT_GROUPING_DERIVED)
+ OPTIMIZER_SWITCH_SPLIT_MATERIALIZED)
/*
Replication uses 8 bytes to store SQL_MODE in the binary log. The day you