From 1220b05c3dfef51c784ea4af19e06bef18914725 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 28 Jan 2003 03:28:06 +0500 Subject: [PATCH] correct parameter of hash_search --- sql/sql_udf.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_udf.cc b/sql/sql_udf.cc index cdbe35cf621..3b362bf3e3f 100644 --- a/sql/sql_udf.cc +++ b/sql/sql_udf.cc @@ -378,7 +378,7 @@ int mysql_create_function(THD *thd,udf_func *udf) } rw_wrlock(&THR_LOCK_udf); - if ((hash_search(&udf_hash,(byte*) &udf->name.str, udf->name.length))) + if ((hash_search(&udf_hash,(byte*) udf->name.str, udf->name.length))) { net_printf(thd, ER_UDF_EXISTS, udf->name); goto err;