summaryrefslogtreecommitdiff
path: root/sql/sql_statistics.cc
diff options
context:
space:
mode:
authorVarun Gupta <varun.gupta@mariadb.com>2019-05-03 09:35:47 +0530
committerVarun Gupta <varun.gupta@mariadb.com>2019-05-04 13:07:55 +0530
commite292c67bb287287225cb248235e254e8c755042c (patch)
tree63ac80e39df8e6967e3c7459a5ca15f400f7061d /sql/sql_statistics.cc
parentce195987c3c995470992f16ca7a985796d6b65a6 (diff)
downloadmariadb-git-e292c67bb287287225cb248235e254e8c755042c.tar.gz
MDEV-17781: Server crashes in next_linear_tab
For degenerate joins we may have JOIN::table_list as NULL, so instead of using JOIN::top_join_tab_count use the function JOIN::exec_join_tab_cnt to get the number of tables joined at the top level.
Diffstat (limited to 'sql/sql_statistics.cc')
0 files changed, 0 insertions, 0 deletions