1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

correct parameter of hash_search

This commit is contained in:
wax@mysql.com
2003-01-28 03:28:06 +05:00
parent dfed401e69
commit d844f8d02d

View File

@ -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;