summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorEvgeny Potemkin <epotemkin@mysql.com>2009-07-18 18:11:33 +0400
committerEvgeny Potemkin <epotemkin@mysql.com>2009-07-18 18:11:33 +0400
commitbb55b34b331c7a191fc14c5242af7637403fd776 (patch)
tree61f3ed0787561c6948cb7a830f4ba59762f9add5 /sql
parentdc1c164f3560cba6fd471d7557ed5c1571dd6069 (diff)
parent486d9303718b5adef4a5fba239bd5ebd55d54118 (diff)
downloadmariadb-git-bb55b34b331c7a191fc14c5242af7637403fd776.tar.gz
Merged corrected fix for the bug#46051.
Diffstat (limited to 'sql')
-rw-r--r--sql/item.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item.cc b/sql/item.cc
index 1e379527fb7..eecb48aa16f 100644
--- a/sql/item.cc
+++ b/sql/item.cc
@@ -598,6 +598,7 @@ bool Item_ident::remove_dependence_processor(byte * arg)
DBUG_ENTER("Item_ident::remove_dependence_processor");
if (depended_from == (st_select_lex *) arg)
depended_from= 0;
+ context= &((st_select_lex *) arg)->context;
DBUG_RETURN(0);
}