Post review change in Item_ref::get_tmp_table_field (bug #11412).
This commit is contained in:
igor@rurik.mysql.com 2005-07-26 08:20:42 -07:00
commit c3feb18396

View file

@ -1467,7 +1467,10 @@ public:
Field *get_tmp_table_field()
{ return result_field ? result_field : (*ref)->get_tmp_table_field(); }
Item *get_tmp_table_item(THD *thd)
{ return (*ref)->get_tmp_table_item(thd); }
{
return (result_field ? new Item_field(result_field) :
(*ref)->get_tmp_table_item(thd));
}
table_map used_tables() const
{
return depended_from ? OUTER_REF_TABLE_BIT : (*ref)->used_tables();