Skip to content

Commit

Permalink
MDEV-6720 - enable connection log in mysqltest by default
Browse files Browse the repository at this point in the history
This is an addition to original patch. Removed meaningless
"echo SET SESSION AUTOCOMMIT=0" (transaction is started explicitely on
master anyway).
  • Loading branch information
Sergey Vojtovich committed May 5, 2016
1 parent c788a13 commit 7905ea8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions mysql-test/suite/rpl/r/rpl_begin_commit_rollback.result
Expand Up @@ -116,7 +116,6 @@ include/wait_for_slave_sql_to_start.inc
# SAVEPOINT and ROLLBACK TO have the same problem in BUG#43263
# This was reported by BUG#50407
connection master;
SET SESSION AUTOCOMMIT=0
BEGIN;
INSERT INTO db1.t1 VALUES(20);
#
Expand Down Expand Up @@ -164,7 +163,6 @@ master-bin.000001 # Query # # use `db1`; INSERT INTO db1.t2 VALUES("after rollba
master-bin.000001 # Query # # use `db1`; INSERT INTO db1.t1 VALUES(50)
master-bin.000001 # Xid # # COMMIT /* XID */
connection slave;
[on slave]
#
# Verify INSERT statements in savepoints are executed, for MyISAM table
# is not effected by ROLLBACK TO
Expand Down
2 changes: 0 additions & 2 deletions mysql-test/suite/rpl/t/rpl_begin_commit_rollback.test
Expand Up @@ -129,7 +129,6 @@ source include/wait_for_slave_sql_to_start.inc;
--echo # SAVEPOINT and ROLLBACK TO have the same problem in BUG#43263
--echo # This was reported by BUG#50407
connection master;
echo SET SESSION AUTOCOMMIT=0;
let $binlog_start=query_get_value(SHOW MASTER STATUS, Position, 1);

BEGIN;
Expand Down Expand Up @@ -157,7 +156,6 @@ COMMIT;
source include/show_binlog_events.inc;
sync_slave_with_master;

--echo [on slave]
--echo #
--echo # Verify INSERT statements in savepoints are executed, for MyISAM table
--echo # is not effected by ROLLBACK TO
Expand Down

0 comments on commit 7905ea8

Please sign in to comment.