From a5c87958a6ae43bd4b998dd4d54a19043a8e3b0f Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 16 Mar 2005 16:44:28 +0300 Subject: Fix for bug#8656: Crash with group_concat on alias in outer table fixed result_field support of Item_ref --- sql/item.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sql/item.h') diff --git a/sql/item.h b/sql/item.h index adc780677e1..78de2a1f58e 100644 --- a/sql/item.h +++ b/sql/item.h @@ -902,6 +902,7 @@ 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(); } + Field *get_tmp_table_field() { return result_field; } table_map used_tables() const { return depended_from ? OUTER_REF_TABLE_BIT : (*ref)->used_tables(); -- cgit v1.2.1