summaryrefslogtreecommitdiff
path: root/sql/sql_base.cc
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2022-01-05 20:23:52 -0800
committerIgor Babaev <igor@askmonty.org>2022-01-10 09:12:17 -0800
commitd6ee351bbb66b023e8c477b039aa469b053f84ad (patch)
tree041f2eeeb8d24d218f3d2f6f9293fa523bc361de /sql/sql_base.cc
parent80d33261ea1a731f228b712b0e763740f87b89be (diff)
downloadmariadb-git-d6ee351bbb66b023e8c477b039aa469b053f84ad.tar.gz
Revert "MDEV-24454 Crash at change_item_tree"
This patch reverts the fixes of the bugs MDEV-24454 and MDEV-25631 from the commit 3690c549c6e72646ba74f6b4c83813ee4ac3aea4. It leaves the changes in plugin/feedback/feedback.cc and corresponding test files introduced in this commit intact. Proper fixes for the bug MDEV-24454 and MDEV-25631 will follow immediately.
Diffstat (limited to 'sql/sql_base.cc')
-rw-r--r--sql/sql_base.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc
index 5173df260d5..9a66b27a454 100644
--- a/sql/sql_base.cc
+++ b/sql/sql_base.cc
@@ -6440,7 +6440,6 @@ set_new_item_local_context(THD *thd, Item_ident *item, TABLE_LIST *table_ref)
if (!(context= new (thd->mem_root) Name_resolution_context))
return TRUE;
context->init();
- context->select_lex= table_ref->select_lex;
context->first_name_resolution_table=
context->last_name_resolution_table= table_ref;
item->context= context;