Commit 03b4cf51 authored by unknown's avatar unknown
Browse files

Patching tests to make them pass on all platforms.


mysql-test/include/rpl_udf.inc:
  Adding a replace on the slave side as well to make test pass on both
  Unix and Windows.
mysql-test/r/rpl_udf.result:
  Result change
parent 02a79476
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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

+4 −4
Original line number Diff line number Diff line
@@ -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;