summaryrefslogtreecommitdiff
path: root/sql/sql_udf.cc
diff options
context:
space:
mode:
authorunknown <wax@mysql.com>2003-01-28 03:28:06 +0500
committerunknown <wax@mysql.com>2003-01-28 03:28:06 +0500
commitdf63f936fe5edb6244b41b669d0a031a1756f1b1 (patch)
treeb63eb675945a03c06dc9f590f389b316d267b045 /sql/sql_udf.cc
parent8767261e0d9a72c730c3958ff351b2cb942b0c5f (diff)
downloadmariadb-git-df63f936fe5edb6244b41b669d0a031a1756f1b1.tar.gz
correct parameter of hash_search
Diffstat (limited to 'sql/sql_udf.cc')
-rw-r--r--sql/sql_udf.cc2
1 files changed, 1 insertions, 1 deletions
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;