Commit dfed401e authored by wax@mysql.com's avatar wax@mysql.com

correct parameter of hash_result

(SCRUM)
parent 272354b1
......@@ -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, 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