summaryrefslogtreecommitdiff
path: root/sql/item.h
diff options
context:
space:
mode:
authorevgen@sunlight.local <>2007-02-25 23:02:11 +0300
committerevgen@sunlight.local <>2007-02-25 23:02:11 +0300
commite91347dd49e16104da343b1049980dff4f632378 (patch)
treea907b929d4e5365a919952836d98c20635371321 /sql/item.h
parentb617c36979efd8ea6be9ba5b39ba55934d7197f2 (diff)
downloadmariadb-git-e91347dd49e16104da343b1049980dff4f632378.tar.gz
item.h:
Post fix for bug#23800. Copy the table name of an Item_outer_ref to the conventional memory.
Diffstat (limited to 'sql/item.h')
-rw-r--r--sql/item.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item.h b/sql/item.h
index ec6d4fabae5..93b43c8b61a 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -1968,6 +1968,7 @@ public:
outer_field_arg->field_name),
outer_field(outer_field_arg)
{
+ table_name= my_strdup(outer_field_arg->table_name, MYF(MY_WME));
ref= (Item**)&outer_field;
set_properties();
fixed= 0;