mirror of
https://github.com/MariaDB/server.git
synced 2026-05-10 00:54:30 +02:00
Changed the test case for MDEV-15571
It has been done to demonstrate that the fix of this bug is good for 10.3 as well. The previous test case is not good for this purpose because 10.2 and 10.3 use different rules for determining the types of recursive CTEs.
This commit is contained in:
parent
7b5543b21d
commit
f033fbd9f2
3 changed files with 12 additions and 2 deletions
|
|
@ -1304,6 +1304,8 @@ JOIN::optimize_inner()
|
|||
|
||||
/* Convert all outer joins to inner joins if possible */
|
||||
conds= simplify_joins(this, join_list, conds, TRUE, FALSE);
|
||||
if (thd->is_error())
|
||||
DBUG_RETURN(1);
|
||||
if (select_lex->save_leaf_tables(thd))
|
||||
DBUG_RETURN(1);
|
||||
build_bitmap_for_nested_joins(join_list, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue