summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <igor@olga.mysql.com>2007-07-05 17:39:51 -0700
committerunknown <igor@olga.mysql.com>2007-07-05 17:39:51 -0700
commit8195a213c2fadfb185e755ce6dda2162df1a5529 (patch)
tree9250c1235e12d1122e70709cd8aabf0435a5fc1d /sql
parent50373d1ae79c958faf884f71ab27f6b3227dbeec (diff)
parent5d88b654ede319aa3534833500f0963eba6f9f1a (diff)
downloadmariadb-git-8195a213c2fadfb185e755ce6dda2162df1a5529.tar.gz
Merge olga.mysql.com:/home/igor/mysql-5.0-opt
into olga.mysql.com:/home/igor/dev-opt/mysql-5.0-opt-bug29392 sql/item.h: Auto merged
Diffstat (limited to 'sql')
-rw-r--r--sql/item.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/item.h b/sql/item.h
index fdb85b131c1..26b39e0bd00 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -1989,6 +1989,12 @@ public:
bool fix_fields(THD *, Item **);
bool eq(const Item *item, bool binary_cmp) const;
+ Item *get_tmp_table_item(THD *thd)
+ {
+ Item *item= Item_ref::get_tmp_table_item(thd);
+ item->name= name;
+ return item;
+ }
virtual Ref_Type ref_type() { return VIEW_REF; }
};