diff options
author | Kentoku <kentokushiba@gmail.com> | 2019-05-28 16:40:59 +0900 |
---|---|---|
committer | Kentoku <kentokushiba@gmail.com> | 2019-09-02 07:06:05 +0900 |
commit | 4a8dafe26ec1aa97c153f7dedc7a487b6cedffd9 (patch) | |
tree | 101a557ddf6adbc4d76deac240d6a1dcf52f06c9 /sql/sql_select.cc | |
parent | 24773bf38024d32c9af4e6bc09e67043318bba6e (diff) | |
download | mariadb-git-bb-10.4-MDEV-6268.tar.gz |
MDEV-6268 SPIDER table with no COMMENT clause causes queries to wait foreverbb-10.4-MDEV-6268
Add loop checks by using user variables
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r-- | sql/sql_select.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc index 598f46594e5..f85e598b776 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -3123,7 +3123,7 @@ bool JOIN::make_aggr_tables_info() distinct in the engine, so we do this for all queries, not only GROUP BY queries. */ - if (tables_list && !procedure) + if (tables_list && !procedure && join_tab) { /* At the moment we only support push down for queries where |