From 8411a8ff6080f346582878131ba4bd92cce7510c Mon Sep 17 00:00:00 2001 From: Igor Babaev Date: Thu, 8 Feb 2018 09:48:03 -0800 Subject: Corrected the patch for mdev-15119 that caused a failure for cte_nonrecursive.test with --embedded. This also fixed some problems for embedded CTEs. Adjusted test results accordingly. --- sql/sql_cte.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_cte.h') diff --git a/sql/sql_cte.h b/sql/sql_cte.h index 64b2f1cb1c8..70526e862dc 100644 --- a/sql/sql_cte.h +++ b/sql/sql_cte.h @@ -142,7 +142,7 @@ public: query_name(name), column_list(list), spec(unit), is_recursive(false), with_anchor(false), level(0), rec_result(NULL) - {} + { unit->with_element= this; } bool check_dependencies_in_spec(); -- cgit v1.2.1