From 4beb7e5355f7bfbec8bfdb0f00b933fbf76dfa61 Mon Sep 17 00:00:00 2001 From: Igor Babaev Date: Mon, 24 Apr 2017 23:58:23 -0700 Subject: Fixed the bug mdev-12373. Condition pushdown into derived tables / views with side effects is not allowed. --- sql/table.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sql/table.h') 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) */ -- cgit v1.2.1