mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
MDEV-6720 - enable connection log in mysqltest by default
This is an addition to original patch. Removed meaningless "echo SET SESSION AUTOCOMMIT=0" (transaction is started explicitely on master anyway).
This commit is contained in:
parent
c788a13c64
commit
7905ea8904
2 changed files with 0 additions and 4 deletions
|
|
@ -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);
|
||||
#
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue