diff --git a/mysql-test/include/rpl_udf.inc b/mysql-test/include/rpl_udf.inc
index 424bacc42169151061628eb7720f2f80a3e81ab5..d9e19cda484a8a94ddd36f450f8bd977dc920bb8 100644
--- a/mysql-test/include/rpl_udf.inc
+++ b/mysql-test/include/rpl_udf.inc
@@ -45,6 +45,7 @@ sync_with_master;
 # Check to see that UDF CREATE statements were replicated
 --echo "Running on the slave"
 --enable_info
+--replace_column 3 UDF_LIB
 SELECT * FROM mysql.func;
 --disable_info
 
diff --git a/mysql-test/r/rpl_udf.result b/mysql-test/r/rpl_udf.result
index 856e92cee26b4380b27aa218b636e5e7d58ad650..6587632bca09c5ada339665134cc5121d73eb055 100644
--- a/mysql-test/r/rpl_udf.result
+++ b/mysql-test/r/rpl_udf.result
@@ -22,8 +22,8 @@ affected rows: 2
 "Running on the slave"
 SELECT * FROM mysql.func;
 name	ret	dl	type
-myfunc_double	1	udf_example.so	function
-myfunc_int	2	udf_example.so	function
+myfunc_double	1	UDF_LIB	function
+myfunc_int	2	UDF_LIB	function
 affected rows: 2
 "Running on the master"
 CREATE TABLE t1(sum INT, price FLOAT(24)) ENGINE=MyISAM;
@@ -174,8 +174,8 @@ affected rows: 2
 "Running on the slave"
 SELECT * FROM mysql.func;
 name	ret	dl	type
-myfunc_int	2	udf_example.so	function
-myfunc_double	1	udf_example.so	function
+myfunc_int	2	UDF_LIB	function
+myfunc_double	1	UDF_LIB	function
 affected rows: 2
 "Running on the master"
 CREATE TABLE t1(sum INT, price FLOAT(24)) ENGINE=MyISAM;