diff options
author | unknown <gluh@gluh.mysql.r18.ru> | 2005-03-16 16:44:28 +0300 |
---|---|---|
committer | unknown <gluh@gluh.mysql.r18.ru> | 2005-03-16 16:44:28 +0300 |
commit | a5c87958a6ae43bd4b998dd4d54a19043a8e3b0f (patch) | |
tree | 7fee6588640e9cf5d33b92f655676f9db201beab /sql/item.h | |
parent | 9245168429bc963a73cbc16259535e612badd8e3 (diff) | |
download | mariadb-git-a5c87958a6ae43bd4b998dd4d54a19043a8e3b0f.tar.gz |
Fix for bug#8656: Crash with group_concat on alias in outer table
fixed result_field support of Item_ref
Diffstat (limited to 'sql/item.h')
-rw-r--r-- | sql/item.h | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |