diff options
author | bell@sanja.is.com.ua <> | 2002-11-21 11:01:33 +0200 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2002-11-21 11:01:33 +0200 |
commit | 2eb623a4f0db979c9d41513368fd569d7de88d7e (patch) | |
tree | 204c1af57a363a93ae12cd592c129b96097d1bfe /sql/item_func.h | |
parent | 9e15fe17f1dcae2992555995b654f4d72b1b0f78 (diff) | |
download | mariadb-git-2eb623a4f0db979c9d41513368fd569d7de88d7e.tar.gz |
prevent using references on sum function (except HAVING clouse of current select) and forward references
Diffstat (limited to 'sql/item_func.h')
-rw-r--r-- | sql/item_func.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_func.h b/sql/item_func.h index 581809fc9cb..4dd9088c5c8 100644 --- a/sql/item_func.h +++ b/sql/item_func.h @@ -742,6 +742,7 @@ public: bool res= udf.fix_fields(thd, tables, this, arg_count, args); used_tables_cache= udf.used_tables_cache; const_item_cache= udf.const_item_cache; + fixed= 1; return res; } Item_result result_type () const { return udf.result_type(); } |