Commit 03b4cf51 authored by unknown's avatar unknown

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
...@@ -45,6 +45,7 @@ sync_with_master; ...@@ -45,6 +45,7 @@ sync_with_master;
# Check to see that UDF CREATE statements were replicated # Check to see that UDF CREATE statements were replicated
--echo "Running on the slave" --echo "Running on the slave"
--enable_info --enable_info
--replace_column 3 UDF_LIB
SELECT * FROM mysql.func; SELECT * FROM mysql.func;
--disable_info --disable_info
......
...@@ -22,8 +22,8 @@ affected rows: 2 ...@@ -22,8 +22,8 @@ affected rows: 2
"Running on the slave" "Running on the slave"
SELECT * FROM mysql.func; SELECT * FROM mysql.func;
name ret dl type name ret dl type
myfunc_double 1 udf_example.so function myfunc_double 1 UDF_LIB function
myfunc_int 2 udf_example.so function myfunc_int 2 UDF_LIB function
affected rows: 2 affected rows: 2
"Running on the master" "Running on the master"
CREATE TABLE t1(sum INT, price FLOAT(24)) ENGINE=MyISAM; CREATE TABLE t1(sum INT, price FLOAT(24)) ENGINE=MyISAM;
...@@ -174,8 +174,8 @@ affected rows: 2 ...@@ -174,8 +174,8 @@ affected rows: 2
"Running on the slave" "Running on the slave"
SELECT * FROM mysql.func; SELECT * FROM mysql.func;
name ret dl type name ret dl type
myfunc_int 2 udf_example.so function myfunc_int 2 UDF_LIB function
myfunc_double 1 udf_example.so function myfunc_double 1 UDF_LIB function
affected rows: 2 affected rows: 2
"Running on the master" "Running on the master"
CREATE TABLE t1(sum INT, price FLOAT(24)) ENGINE=MyISAM; CREATE TABLE t1(sum INT, price FLOAT(24)) ENGINE=MyISAM;
......
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