a fix (Bug #4102 Crash with a DBUG window after a request)

This commit is contained in:
ram@gw.mysql.r18.ru 2004-06-16 18:43:05 +05:00
parent b35072e437
commit 6b8222d3a7

View file

@ -820,7 +820,10 @@ public:
void save_org_in_field(Field *field) { (*ref)->save_org_in_field(field); }
enum Item_result result_type () const { return (*ref)->result_type(); }
enum_field_types field_type() const { return (*ref)->field_type(); }
table_map used_tables() const { return (*ref)->used_tables(); }
table_map used_tables() const
{
return depended_from ? OUTER_REF_TABLE_BIT : (*ref)->used_tables();
}
void set_result_field(Field *field) { result_field= field; }
bool is_result_field() { return 1; }
void save_in_result_field(bool no_conversions)