Commit 1220b05c authored by unknown's avatar unknown

correct parameter of hash_search

parent 8d296920
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment