diff options
author | Varun Gupta <varunraiko1803@gmail.com> | 2018-03-27 02:48:55 +0530 |
---|---|---|
committer | Varun Gupta <varunraiko1803@gmail.com> | 2018-03-27 02:48:55 +0530 |
commit | ba7b03001c12b5c895c8658ac1e68e0ad83f8428 (patch) | |
tree | 128844a2795d072c3a8ffd3ccf6b5cea52ac3390 /sql/sql_lex.h | |
parent | 52ade8a54243df9354c38cb1af799e811cd05989 (diff) | |
download | mariadb-git-10.3-MDEV-9959.tar.gz |
MDEV-9959: A serious MariaDB server performance bug10.3-MDEV-9959
Step #2: If any field in the select list of the derived tables is present in the group by list also , then we are again guaranteed that ref access to the derived table would always produce one row per key.
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h index 4128c1dd300..531fa5495f9 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -1274,6 +1274,7 @@ public: bool cond_pushdown_is_allowed() const { return !olap && !explicit_limit && !tvc; } + bool select_items_in_group_by(); private: bool m_non_agg_field_used; |