From 6a1cf73a58ccb59239fc34c47fbf851741b632f2 Mon Sep 17 00:00:00 2001 From: Andrei Elkin Date: Fri, 3 Oct 2008 10:53:33 +0300 Subject: [PATCH] Bug #28786 binlog_killed.test fails: 'reset master' does not reset binlogging The test failed originally -- did not reset binlogging - for the reason identified by bug@15580. However it never can be run on the embedded platfrom for yet another cause - the embedded can not KILL query. Comments added to the test particularly relating `reset master' to the mentioned bug. --- mysql-test/suite/binlog/t/binlog_killed.test | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/mysql-test/suite/binlog/t/binlog_killed.test b/mysql-test/suite/binlog/t/binlog_killed.test index ab8a8cd59bd..e63186b64c8 100644 --- a/mysql-test/suite/binlog/t/binlog_killed.test +++ b/mysql-test/suite/binlog/t/binlog_killed.test @@ -1,5 +1,10 @@ -- source include/have_innodb.inc -- source include/have_binlog_format_mixed_or_statement.inc + +# You cannot use `KILL' with the Embedded MySQL Server library, +# because the embedded server merely runs inside the threads of the host +# application. -- the docs + -- source include/not_embedded.inc ### @@ -22,6 +27,12 @@ select get_lock("a", 20); connection con2; let $ID= `select connection_id()`; + +# +# reset master does not reset binlogging on the embedded server. +# the test is not run on the embedded for reason of using KILL query. +# `reset master' problem is to be addressed by bug#15580 fixes. +# reset master; send insert into t2 values (null, null), (null, get_lock("a", 10));