diff options
author | igor@olga.mysql.com <> | 2007-07-05 17:39:51 -0700 |
---|---|---|
committer | igor@olga.mysql.com <> | 2007-07-05 17:39:51 -0700 |
commit | 5b1e1eeae5f0743d8f8f01010211432a17bb04b3 (patch) | |
tree | 9250c1235e12d1122e70709cd8aabf0435a5fc1d /sql | |
parent | 0b00ebbba05d9075c8e94940870a04bda62d3014 (diff) | |
parent | 4c02004da9ca0037731338c0fdd3fae8853de459 (diff) | |
download | mariadb-git-5b1e1eeae5f0743d8f8f01010211432a17bb04b3.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
Diffstat (limited to 'sql')
-rw-r--r-- | sql/item.h | 6 |
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; } }; |