summaryrefslogtreecommitdiff
path: root/sql/table.h
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2017-04-24 23:58:23 -0700
committerIgor Babaev <igor@askmonty.org>2017-04-24 23:58:23 -0700
commit4beb7e5355f7bfbec8bfdb0f00b933fbf76dfa61 (patch)
tree9e09be59fc157c86129bce9ec893ab70fa080619 /sql/table.h
parent0906dc49e8c442ca00b8b7889ee09812040e5638 (diff)
downloadmariadb-git-4beb7e5355f7bfbec8bfdb0f00b933fbf76dfa61.tar.gz
Fixed the bug mdev-12373.
Condition pushdown into derived tables / views with side effects is not allowed.
Diffstat (limited to 'sql/table.h')
-rw-r--r--sql/table.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/table.h b/sql/table.h
index f9b6ac4ae22..22846e05bde 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -2148,6 +2148,8 @@ struct TABLE_LIST
/* I_S: Flags to open_table (e.g. OPEN_TABLE_ONLY or OPEN_VIEW_ONLY) */
uint i_s_requested_object;
+ bool prohibit_cond_pushdown;
+
/*
I_S: how to read the tables (SKIP_OPEN_TABLE/OPEN_FRM_ONLY/OPEN_FULL_TABLE)
*/