Commit 0b690fdf authored by Sergei Golubchik's avatar Sergei Golubchik

misc test/result fixes

mysql-test/include/rpl_udf.inc:
  supppression should be added after master-slave.inc to affect both a master and a slave
mysql-test/suite/rpl/t/rpl_udf.test:
  supppression should be added after master-slave.inc to affect both a master and a slave
parent 5d6989ea
...@@ -11,6 +11,10 @@ ...@@ -11,6 +11,10 @@
--source include/have_udf.inc --source include/have_udf.inc
--source include/master-slave.inc --source include/master-slave.inc
disable_query_log;
call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT");
enable_query_log;
# #
# To run this tests the "sql/udf_example.c" need to be compiled into # To run this tests the "sql/udf_example.c" need to be compiled into
# udf_example.so and LD_LIBRARY_PATH should be setup to point out where # udf_example.so and LD_LIBRARY_PATH should be setup to point out where
......
...@@ -18,11 +18,11 @@ SELECT col_int_key FROM t1; ...@@ -18,11 +18,11 @@ SELECT col_int_key FROM t1;
--send DELETE IGNORE FROM t1; --send DELETE IGNORE FROM t1;
--connection con1 --connection con1
--error 0,1213 --error 0,ER_LOCK_DEADLOCK,ER_LOCK_WAIT_TIMEOUT
DELETE FROM t1 WHERE col_int_key IN (1, 40000000); DELETE FROM t1 WHERE col_int_key IN (1, 40000000);
--connection default --connection default
--error 0,1213 --error 0,ER_LOCK_DEADLOCK,ER_LOCK_WAIT_TIMEOUT
--reap --reap
--disconnect con1 --disconnect con1
......
...@@ -5,10 +5,6 @@ ...@@ -5,10 +5,6 @@
# statement based format. This tests work completed in WL#3629. # # statement based format. This tests work completed in WL#3629. #
################################################################### ###################################################################
disable_query_log;
call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT");
enable_query_log;
let $engine_type= MyISAM; let $engine_type= MyISAM;
--source include/rpl_udf.inc --source include/rpl_udf.inc
......
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