mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge 10.2 to 10.3
Temporarily disable main.cte_recursive due to hang in an added test related to MDEV-15575.
This commit is contained in:
@ -1189,7 +1189,7 @@ bool st_select_lex::check_unrestricted_recursive(bool only_standard_compliant)
|
||||
|
||||
|
||||
/* Check conditions 3-4 for restricted specification*/
|
||||
if (with_sum_func ||
|
||||
if ((with_sum_func && !with_elem->is_anchor(this)) ||
|
||||
(with_elem->contains_sq_with_recursive_reference()))
|
||||
with_elem->get_owner()->add_unrestricted(
|
||||
with_elem->get_mutually_recursive());
|
||||
@ -1414,7 +1414,7 @@ bool With_element::instantiate_tmp_tables()
|
||||
{
|
||||
if (!rec_table->is_created() &&
|
||||
instantiate_tmp_table(rec_table,
|
||||
rec_result->tmp_table_param.keyinfo,
|
||||
rec_table->s->key_info,
|
||||
rec_result->tmp_table_param.start_recinfo,
|
||||
&rec_result->tmp_table_param.recinfo,
|
||||
0))
|
||||
|
Reference in New Issue
Block a user