From 167c9489fa9dbee781085b000e818990df96ee20 Mon Sep 17 00:00:00 2001 From: "ram@gw.mysql.r18.ru" <> Date: Sat, 6 Nov 2004 09:37:30 +0400 Subject: A fix (bug #6441: Aggregate UDF in multi-table query crashes MySQL when returning multiple rows). --- sql/sql_udf.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sql/sql_udf.h') diff --git a/sql/sql_udf.h b/sql/sql_udf.h index 7b10b80f148..d1f99a6d232 100644 --- a/sql/sql_udf.h +++ b/sql/sql_udf.h @@ -56,8 +56,9 @@ class udf_handler :public Sql_alloc public: table_map used_tables_cache; bool const_item_cache; + bool not_original; udf_handler(udf_func *udf_arg) :u_d(udf_arg), buffers(0), error(0), - is_null(0), initialized(0) + is_null(0), initialized(0), not_original(0) {} ~udf_handler(); const char *name() const { return u_d ? u_d->name.str : "?"; } -- cgit v1.2.1