Commit c86accc7 authored by Sujatha's avatar Sujatha

MDEV-23108: Point in time recovery of binary log fails when sql_mode=ORACLE

Problem:
========
During point in time recovery of binary log syntax error is reported for
BEGIN statement and recovery fails.

Analysis:
=========
In MariaDB 10.3 and later, setting the sql_mode system variable to Oracle
allows the server to understand a subset of Oracle's PL/SQL language. When
sql_mode=ORACLE is set, it switches the parser from the MariaDB parser to
Oracle compatible parser. With this change 'BEGIN' is not considered as
'START TRANSACTION'. Hence the syntax error is reported.

Fix:
===
At preset 'BEGIN' query is generated from 'Gtid_log_event::print'. The current
session specific 'sql_mode' information is not present as part of
'Gtid_log_event'. If it was available then, mysqlbinlog tool can make use of
'sql_mode == ORACLE' and can output "START TRANSACTION" in this particular
mode and for other sql_modes it will write "BEGIN" as part of output. Since it
is not available 'mysqlbinlog' tool will output all 'BEGIN' statements as
'START TRANSACTION' irrespective of 'sql_mode'.
parent b75563cd
...@@ -80,7 +80,7 @@ while (<F>) { ...@@ -80,7 +80,7 @@ while (<F>) {
s/table id \d+/table id #/; s/table id \d+/table id #/;
s/mapped to number \d+/mapped to number #/; s/mapped to number \d+/mapped to number #/;
s/CRC32 0x[0-9a-f]+/CRC32 0x########/; s/CRC32 0x[0-9a-f]+/CRC32 0x########/;
print if /\b(GTID|BEGIN|COMMIT|Table_map|Write_rows|Update_rows|Delete_rows|generated by server|40005 TEMPORARY)\b/; print if /\b(GTID|START TRANSACTION|COMMIT|Table_map|Write_rows|Update_rows|Delete_rows|generated by server|40005 TEMPORARY)\b/;
} }
close F; close F;
EOF EOF
......
...@@ -24,7 +24,7 @@ FLUSH LOGS; ...@@ -24,7 +24,7 @@ FLUSH LOGS;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/; /*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
DELIMITER /*!*/; DELIMITER /*!*/;
ROLLBACK/*!*/; ROLLBACK/*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
use `test`/*!*/; use `test`/*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
...@@ -39,7 +39,7 @@ SET @@session.collation_database=DEFAULT/*!*/; ...@@ -39,7 +39,7 @@ SET @@session.collation_database=DEFAULT/*!*/;
INSERT INTO t1 VALUES (1) INSERT INTO t1 VALUES (1)
/*!*/; /*!*/;
COMMIT/*!*/; COMMIT/*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
INSERT INTO t1 VALUES (2) INSERT INTO t1 VALUES (2)
...@@ -55,7 +55,7 @@ ROLLBACK /* added by mysqlbinlog */; ...@@ -55,7 +55,7 @@ ROLLBACK /* added by mysqlbinlog */;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/; /*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
DELIMITER /*!*/; DELIMITER /*!*/;
ROLLBACK/*!*/; ROLLBACK/*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
use `foo`/*!*/; use `foo`/*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
...@@ -70,7 +70,7 @@ SET @@session.collation_database=DEFAULT/*!*/; ...@@ -70,7 +70,7 @@ SET @@session.collation_database=DEFAULT/*!*/;
INSERT INTO t1 VALUES (1) INSERT INTO t1 VALUES (1)
/*!*/; /*!*/;
COMMIT/*!*/; COMMIT/*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
INSERT INTO t1 VALUES (2) INSERT INTO t1 VALUES (2)
......
...@@ -37,7 +37,7 @@ create table t1 (word varchar(20)) ...@@ -37,7 +37,7 @@ create table t1 (word varchar(20))
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
create table t2 (id int auto_increment not null primary key) create table t2 (id int auto_increment not null primary key)
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
insert into t1 values ("abirvalg") insert into t1 values ("abirvalg")
...@@ -45,7 +45,7 @@ insert into t1 values ("abirvalg") ...@@ -45,7 +45,7 @@ insert into t1 values ("abirvalg")
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET INSERT_ID=1/*!*/; SET INSERT_ID=1/*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
...@@ -54,7 +54,7 @@ insert into t2 values () ...@@ -54,7 +54,7 @@ insert into t2 values ()
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`word`) LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`word`)
...@@ -62,7 +62,7 @@ LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FI ...@@ -62,7 +62,7 @@ LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FI
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`word`) LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`word`)
...@@ -70,7 +70,7 @@ LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FI ...@@ -70,7 +70,7 @@ LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FI
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`word`) LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`word`)
...@@ -78,7 +78,7 @@ LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FI ...@@ -78,7 +78,7 @@ LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FI
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`word`) LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`word`)
...@@ -97,7 +97,7 @@ ROLLBACK /* added by mysqlbinlog */; ...@@ -97,7 +97,7 @@ ROLLBACK /* added by mysqlbinlog */;
/*!40019 SET @@session.max_insert_delayed_threads=0*/; /*!40019 SET @@session.max_insert_delayed_threads=0*/;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/; /*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
DELIMITER /*!*/; DELIMITER /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
use `test`/*!*/; use `test`/*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
...@@ -114,7 +114,7 @@ LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FI ...@@ -114,7 +114,7 @@ LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FI
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
insert into t1 values ("Alas") insert into t1 values ("Alas")
...@@ -134,7 +134,7 @@ ROLLBACK /* added by mysqlbinlog */; ...@@ -134,7 +134,7 @@ ROLLBACK /* added by mysqlbinlog */;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/; /*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
DELIMITER /*!*/; DELIMITER /*!*/;
ROLLBACK/*!*/; ROLLBACK/*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
SET @@session.pseudo_thread_id=999999999/*!*/; SET @@session.pseudo_thread_id=999999999/*!*/;
...@@ -147,28 +147,28 @@ SET @@session.lc_time_names=0/*!*/; ...@@ -147,28 +147,28 @@ SET @@session.lc_time_names=0/*!*/;
SET @@session.collation_database=DEFAULT/*!*/; SET @@session.collation_database=DEFAULT/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET INSERT_ID=1/*!*/; SET INSERT_ID=1/*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
COMMIT COMMIT
...@@ -184,7 +184,7 @@ ROLLBACK /* added by mysqlbinlog */; ...@@ -184,7 +184,7 @@ ROLLBACK /* added by mysqlbinlog */;
/*!40019 SET @@session.max_insert_delayed_threads=0*/; /*!40019 SET @@session.max_insert_delayed_threads=0*/;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/; /*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
DELIMITER /*!*/; DELIMITER /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
use `test`/*!*/; use `test`/*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
...@@ -231,7 +231,7 @@ create table t1 (word varchar(20)) ...@@ -231,7 +231,7 @@ create table t1 (word varchar(20))
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
create table t2 (id int auto_increment not null primary key) create table t2 (id int auto_increment not null primary key)
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
insert into t1 values ("abirvalg") insert into t1 values ("abirvalg")
...@@ -239,7 +239,7 @@ insert into t1 values ("abirvalg") ...@@ -239,7 +239,7 @@ insert into t1 values ("abirvalg")
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET INSERT_ID=1/*!*/; SET INSERT_ID=1/*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
...@@ -248,7 +248,7 @@ insert into t2 values () ...@@ -248,7 +248,7 @@ insert into t2 values ()
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`word`) LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`word`)
...@@ -256,7 +256,7 @@ LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FI ...@@ -256,7 +256,7 @@ LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FI
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`word`) LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`word`)
...@@ -264,7 +264,7 @@ LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FI ...@@ -264,7 +264,7 @@ LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FI
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`word`) LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`word`)
...@@ -272,7 +272,7 @@ LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FI ...@@ -272,7 +272,7 @@ LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FI
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`word`) LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`word`)
...@@ -291,7 +291,7 @@ ROLLBACK /* added by mysqlbinlog */; ...@@ -291,7 +291,7 @@ ROLLBACK /* added by mysqlbinlog */;
/*!40019 SET @@session.max_insert_delayed_threads=0*/; /*!40019 SET @@session.max_insert_delayed_threads=0*/;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/; /*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
DELIMITER /*!*/; DELIMITER /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
use `test`/*!*/; use `test`/*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
...@@ -308,7 +308,7 @@ LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FI ...@@ -308,7 +308,7 @@ LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FI
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
insert into t1 values ("Alas") insert into t1 values ("Alas")
...@@ -328,7 +328,7 @@ ROLLBACK /* added by mysqlbinlog */; ...@@ -328,7 +328,7 @@ ROLLBACK /* added by mysqlbinlog */;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/; /*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
DELIMITER /*!*/; DELIMITER /*!*/;
ROLLBACK/*!*/; ROLLBACK/*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
SET @@session.pseudo_thread_id=999999999/*!*/; SET @@session.pseudo_thread_id=999999999/*!*/;
...@@ -341,28 +341,28 @@ SET @@session.lc_time_names=0/*!*/; ...@@ -341,28 +341,28 @@ SET @@session.lc_time_names=0/*!*/;
SET @@session.collation_database=DEFAULT/*!*/; SET @@session.collation_database=DEFAULT/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET INSERT_ID=1/*!*/; SET INSERT_ID=1/*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
COMMIT COMMIT
...@@ -378,7 +378,7 @@ ROLLBACK /* added by mysqlbinlog */; ...@@ -378,7 +378,7 @@ ROLLBACK /* added by mysqlbinlog */;
/*!40019 SET @@session.max_insert_delayed_threads=0*/; /*!40019 SET @@session.max_insert_delayed_threads=0*/;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/; /*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
DELIMITER /*!*/; DELIMITER /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
use `test`/*!*/; use `test`/*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
...@@ -553,7 +553,7 @@ SET @@session.lc_time_names=0/*!*/; ...@@ -553,7 +553,7 @@ SET @@session.lc_time_names=0/*!*/;
SET @@session.collation_database=DEFAULT/*!*/; SET @@session.collation_database=DEFAULT/*!*/;
create table t1 (a varchar(64) character set utf8) create table t1 (a varchar(64) character set utf8)
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`a`) LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`a`)
...@@ -561,7 +561,7 @@ LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FI ...@@ -561,7 +561,7 @@ LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FI
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
SET @@session.collation_database=7/*!*/; SET @@session.collation_database=7/*!*/;
...@@ -570,7 +570,7 @@ LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FI ...@@ -570,7 +570,7 @@ LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FI
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
SET @@session.collation_database=DEFAULT/*!*/; SET @@session.collation_database=DEFAULT/*!*/;
...@@ -579,7 +579,7 @@ LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FI ...@@ -579,7 +579,7 @@ LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FI
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`a`) LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`a`)
...@@ -587,7 +587,7 @@ LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FI ...@@ -587,7 +587,7 @@ LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FI
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
SET @@session.collation_database=7/*!*/; SET @@session.collation_database=7/*!*/;
...@@ -596,7 +596,7 @@ LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FI ...@@ -596,7 +596,7 @@ LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FI
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
SET @@session.collation_database=DEFAULT/*!*/; SET @@session.collation_database=DEFAULT/*!*/;
...@@ -605,7 +605,7 @@ LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FI ...@@ -605,7 +605,7 @@ LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` FI
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` CHARACTER SET koi8r FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`a`) LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/tmp/SQL_LOAD_MB-#-#' INTO TABLE `t1` CHARACTER SET koi8r FIELDS TERMINATED BY '\t' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`a`)
......
...@@ -53,7 +53,7 @@ CREATE TABLE t2 (pk INT PRIMARY KEY, f1 INT, f2 INT, f3 INT, f4 INT, f5 MEDIUMIN ...@@ -53,7 +53,7 @@ CREATE TABLE t2 (pk INT PRIMARY KEY, f1 INT, f2 INT, f3 INT, f4 INT, f5 MEDIUMIN
# at 727 # at 727
#<date> server id 1 end_log_pos 769 CRC32 XXX GTID 0-1-3 #<date> server id 1 end_log_pos 769 CRC32 XXX GTID 0-1-3
/*!100001 SET @@session.gtid_seq_no=3*//*!*/; /*!100001 SET @@session.gtid_seq_no=3*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at 769 # at 769
# at 843 # at 843
...@@ -82,7 +82,7 @@ COMMIT ...@@ -82,7 +82,7 @@ COMMIT
# at 1040 # at 1040
#<date> server id 1 end_log_pos 1082 CRC32 XXX GTID 0-1-4 #<date> server id 1 end_log_pos 1082 CRC32 XXX GTID 0-1-4
/*!100001 SET @@session.gtid_seq_no=4*//*!*/; /*!100001 SET @@session.gtid_seq_no=4*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at 1082 # at 1082
# at 1158 # at 1158
...@@ -111,7 +111,7 @@ COMMIT ...@@ -111,7 +111,7 @@ COMMIT
# at 1354 # at 1354
#<date> server id 1 end_log_pos 1396 CRC32 XXX GTID 0-1-5 #<date> server id 1 end_log_pos 1396 CRC32 XXX GTID 0-1-5
/*!100001 SET @@session.gtid_seq_no=5*//*!*/; /*!100001 SET @@session.gtid_seq_no=5*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at 1396 # at 1396
# at 1474 # at 1474
...@@ -140,7 +140,7 @@ COMMIT ...@@ -140,7 +140,7 @@ COMMIT
# at 1669 # at 1669
#<date> server id 1 end_log_pos 1711 CRC32 XXX GTID 0-1-6 #<date> server id 1 end_log_pos 1711 CRC32 XXX GTID 0-1-6
/*!100001 SET @@session.gtid_seq_no=6*//*!*/; /*!100001 SET @@session.gtid_seq_no=6*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at 1711 # at 1711
# at 1786 # at 1786
...@@ -169,7 +169,7 @@ COMMIT ...@@ -169,7 +169,7 @@ COMMIT
# at 1982 # at 1982
#<date> server id 1 end_log_pos 2024 CRC32 XXX GTID 0-1-7 #<date> server id 1 end_log_pos 2024 CRC32 XXX GTID 0-1-7
/*!100001 SET @@session.gtid_seq_no=7*//*!*/; /*!100001 SET @@session.gtid_seq_no=7*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at 2024 # at 2024
# at 2078 # at 2078
...@@ -231,7 +231,7 @@ COMMIT ...@@ -231,7 +231,7 @@ COMMIT
# at 2298 # at 2298
#<date> server id 1 end_log_pos 2340 CRC32 XXX GTID 0-1-8 #<date> server id 1 end_log_pos 2340 CRC32 XXX GTID 0-1-8
/*!100001 SET @@session.gtid_seq_no=8*//*!*/; /*!100001 SET @@session.gtid_seq_no=8*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at 2340 # at 2340
# at 2406 # at 2406
...@@ -312,7 +312,7 @@ COMMIT ...@@ -312,7 +312,7 @@ COMMIT
# at 2634 # at 2634
#<date> server id 1 end_log_pos 2676 CRC32 XXX GTID 0-1-9 #<date> server id 1 end_log_pos 2676 CRC32 XXX GTID 0-1-9
/*!100001 SET @@session.gtid_seq_no=9*//*!*/; /*!100001 SET @@session.gtid_seq_no=9*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at 2676 # at 2676
# at 2713 # at 2713
...@@ -374,7 +374,7 @@ COMMIT ...@@ -374,7 +374,7 @@ COMMIT
# at 2934 # at 2934
#<date> server id 1 end_log_pos 2976 CRC32 XXX GTID 0-1-10 #<date> server id 1 end_log_pos 2976 CRC32 XXX GTID 0-1-10
/*!100001 SET @@session.gtid_seq_no=10*//*!*/; /*!100001 SET @@session.gtid_seq_no=10*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at 2976 # at 2976
# at 3013 # at 3013
......
...@@ -51,7 +51,7 @@ CREATE TABLE t2 (pk INT PRIMARY KEY, f1 INT, f2 INT, f3 INT, f4 INT, f5 MEDIUMIN ...@@ -51,7 +51,7 @@ CREATE TABLE t2 (pk INT PRIMARY KEY, f1 INT, f2 INT, f3 INT, f4 INT, f5 MEDIUMIN
# at 774 # at 774
#<date> server id 1 end_log_pos 816 CRC32 XXX GTID 0-1-3 #<date> server id 1 end_log_pos 816 CRC32 XXX GTID 0-1-3
/*!100001 SET @@session.gtid_seq_no=3*//*!*/; /*!100001 SET @@session.gtid_seq_no=3*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at 816 # at 816
# at 890 # at 890
...@@ -80,7 +80,7 @@ COMMIT ...@@ -80,7 +80,7 @@ COMMIT
# at 1088 # at 1088
#<date> server id 1 end_log_pos 1130 CRC32 XXX GTID 0-1-4 #<date> server id 1 end_log_pos 1130 CRC32 XXX GTID 0-1-4
/*!100001 SET @@session.gtid_seq_no=4*//*!*/; /*!100001 SET @@session.gtid_seq_no=4*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at 1130 # at 1130
# at 1206 # at 1206
...@@ -109,7 +109,7 @@ COMMIT ...@@ -109,7 +109,7 @@ COMMIT
# at 1403 # at 1403
#<date> server id 1 end_log_pos 1445 CRC32 XXX GTID 0-1-5 #<date> server id 1 end_log_pos 1445 CRC32 XXX GTID 0-1-5
/*!100001 SET @@session.gtid_seq_no=5*//*!*/; /*!100001 SET @@session.gtid_seq_no=5*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at 1445 # at 1445
# at 1523 # at 1523
...@@ -138,7 +138,7 @@ COMMIT ...@@ -138,7 +138,7 @@ COMMIT
# at 1719 # at 1719
#<date> server id 1 end_log_pos 1761 CRC32 XXX GTID 0-1-6 #<date> server id 1 end_log_pos 1761 CRC32 XXX GTID 0-1-6
/*!100001 SET @@session.gtid_seq_no=6*//*!*/; /*!100001 SET @@session.gtid_seq_no=6*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at 1761 # at 1761
# at 1836 # at 1836
...@@ -167,7 +167,7 @@ COMMIT ...@@ -167,7 +167,7 @@ COMMIT
# at 2035 # at 2035
#<date> server id 1 end_log_pos 2077 CRC32 XXX GTID 0-1-7 #<date> server id 1 end_log_pos 2077 CRC32 XXX GTID 0-1-7
/*!100001 SET @@session.gtid_seq_no=7*//*!*/; /*!100001 SET @@session.gtid_seq_no=7*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at 2077 # at 2077
# at 2131 # at 2131
...@@ -229,7 +229,7 @@ COMMIT ...@@ -229,7 +229,7 @@ COMMIT
# at 2427 # at 2427
#<date> server id 1 end_log_pos 2469 CRC32 XXX GTID 0-1-8 #<date> server id 1 end_log_pos 2469 CRC32 XXX GTID 0-1-8
/*!100001 SET @@session.gtid_seq_no=8*//*!*/; /*!100001 SET @@session.gtid_seq_no=8*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at 2469 # at 2469
# at 2535 # at 2535
...@@ -262,7 +262,7 @@ COMMIT ...@@ -262,7 +262,7 @@ COMMIT
# at 2730 # at 2730
#<date> server id 1 end_log_pos 2772 CRC32 XXX GTID 0-1-9 #<date> server id 1 end_log_pos 2772 CRC32 XXX GTID 0-1-9
/*!100001 SET @@session.gtid_seq_no=9*//*!*/; /*!100001 SET @@session.gtid_seq_no=9*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at 2772 # at 2772
# at 2809 # at 2809
...@@ -292,7 +292,7 @@ COMMIT ...@@ -292,7 +292,7 @@ COMMIT
# at 2992 # at 2992
#<date> server id 1 end_log_pos 3034 CRC32 XXX GTID 0-1-10 #<date> server id 1 end_log_pos 3034 CRC32 XXX GTID 0-1-10
/*!100001 SET @@session.gtid_seq_no=10*//*!*/; /*!100001 SET @@session.gtid_seq_no=10*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at 3034 # at 3034
# at 3071 # at 3071
...@@ -357,7 +357,7 @@ DELIMITER /*!*/; ...@@ -357,7 +357,7 @@ DELIMITER /*!*/;
/*!100001 SET @@session.gtid_domain_id=0*//*!*/; /*!100001 SET @@session.gtid_domain_id=0*//*!*/;
/*!100001 SET @@session.server_id=1*//*!*/; /*!100001 SET @@session.server_id=1*//*!*/;
/*!100001 SET @@session.gtid_seq_no=16*//*!*/; /*!100001 SET @@session.gtid_seq_no=16*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at 429 # at 429
# at 543 # at 543
......
...@@ -53,7 +53,7 @@ CREATE TABLE t2 (pk INT PRIMARY KEY, f1 INT, f2 INT, f3 INT, f4 INT, f5 MEDIUMIN ...@@ -53,7 +53,7 @@ CREATE TABLE t2 (pk INT PRIMARY KEY, f1 INT, f2 INT, f3 INT, f4 INT, f5 MEDIUMIN
# at 727 # at 727
#<date> server id 1 end_log_pos 769 CRC32 XXX GTID 0-1-3 #<date> server id 1 end_log_pos 769 CRC32 XXX GTID 0-1-3
/*!100001 SET @@session.gtid_seq_no=3*//*!*/; /*!100001 SET @@session.gtid_seq_no=3*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at 769 # at 769
#<date> server id 1 end_log_pos 897 CRC32 XXX Query_compressed thread_id=5 exec_time=x error_code=0 #<date> server id 1 end_log_pos 897 CRC32 XXX Query_compressed thread_id=5 exec_time=x error_code=0
...@@ -68,7 +68,7 @@ COMMIT ...@@ -68,7 +68,7 @@ COMMIT
# at 970 # at 970
#<date> server id 1 end_log_pos 1012 CRC32 XXX GTID 0-1-4 #<date> server id 1 end_log_pos 1012 CRC32 XXX GTID 0-1-4
/*!100001 SET @@session.gtid_seq_no=4*//*!*/; /*!100001 SET @@session.gtid_seq_no=4*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at 1012 # at 1012
#<date> server id 1 end_log_pos 1140 CRC32 XXX Query_compressed thread_id=5 exec_time=x error_code=0 #<date> server id 1 end_log_pos 1140 CRC32 XXX Query_compressed thread_id=5 exec_time=x error_code=0
...@@ -83,7 +83,7 @@ COMMIT ...@@ -83,7 +83,7 @@ COMMIT
# at 1213 # at 1213
#<date> server id 1 end_log_pos 1255 CRC32 XXX GTID 0-1-5 #<date> server id 1 end_log_pos 1255 CRC32 XXX GTID 0-1-5
/*!100001 SET @@session.gtid_seq_no=5*//*!*/; /*!100001 SET @@session.gtid_seq_no=5*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at 1255 # at 1255
#<date> server id 1 end_log_pos 1385 CRC32 XXX Query_compressed thread_id=5 exec_time=x error_code=0 #<date> server id 1 end_log_pos 1385 CRC32 XXX Query_compressed thread_id=5 exec_time=x error_code=0
...@@ -98,7 +98,7 @@ COMMIT ...@@ -98,7 +98,7 @@ COMMIT
# at 1458 # at 1458
#<date> server id 1 end_log_pos 1500 CRC32 XXX GTID 0-1-6 #<date> server id 1 end_log_pos 1500 CRC32 XXX GTID 0-1-6
/*!100001 SET @@session.gtid_seq_no=6*//*!*/; /*!100001 SET @@session.gtid_seq_no=6*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at 1500 # at 1500
#<date> server id 1 end_log_pos 1627 CRC32 XXX Query_compressed thread_id=5 exec_time=x error_code=0 #<date> server id 1 end_log_pos 1627 CRC32 XXX Query_compressed thread_id=5 exec_time=x error_code=0
...@@ -113,7 +113,7 @@ COMMIT ...@@ -113,7 +113,7 @@ COMMIT
# at 1700 # at 1700
#<date> server id 1 end_log_pos 1742 CRC32 XXX GTID 0-1-7 #<date> server id 1 end_log_pos 1742 CRC32 XXX GTID 0-1-7
/*!100001 SET @@session.gtid_seq_no=7*//*!*/; /*!100001 SET @@session.gtid_seq_no=7*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at 1742 # at 1742
#<date> server id 1 end_log_pos 1850 CRC32 XXX Query_compressed thread_id=5 exec_time=x error_code=0 #<date> server id 1 end_log_pos 1850 CRC32 XXX Query_compressed thread_id=5 exec_time=x error_code=0
...@@ -128,7 +128,7 @@ COMMIT ...@@ -128,7 +128,7 @@ COMMIT
# at 1923 # at 1923
#<date> server id 1 end_log_pos 1965 CRC32 XXX GTID 0-1-8 #<date> server id 1 end_log_pos 1965 CRC32 XXX GTID 0-1-8
/*!100001 SET @@session.gtid_seq_no=8*//*!*/; /*!100001 SET @@session.gtid_seq_no=8*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at 1965 # at 1965
#<date> server id 1 end_log_pos 2082 CRC32 XXX Query_compressed thread_id=5 exec_time=x error_code=0 #<date> server id 1 end_log_pos 2082 CRC32 XXX Query_compressed thread_id=5 exec_time=x error_code=0
...@@ -143,7 +143,7 @@ COMMIT ...@@ -143,7 +143,7 @@ COMMIT
# at 2155 # at 2155
#<date> server id 1 end_log_pos 2197 CRC32 XXX GTID 0-1-9 #<date> server id 1 end_log_pos 2197 CRC32 XXX GTID 0-1-9
/*!100001 SET @@session.gtid_seq_no=9*//*!*/; /*!100001 SET @@session.gtid_seq_no=9*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at 2197 # at 2197
#<date> server id 1 end_log_pos 2288 CRC32 XXX Query_compressed thread_id=5 exec_time=x error_code=0 #<date> server id 1 end_log_pos 2288 CRC32 XXX Query_compressed thread_id=5 exec_time=x error_code=0
...@@ -158,7 +158,7 @@ COMMIT ...@@ -158,7 +158,7 @@ COMMIT
# at 2361 # at 2361
#<date> server id 1 end_log_pos 2403 CRC32 XXX GTID 0-1-10 #<date> server id 1 end_log_pos 2403 CRC32 XXX GTID 0-1-10
/*!100001 SET @@session.gtid_seq_no=10*//*!*/; /*!100001 SET @@session.gtid_seq_no=10*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at 2403 # at 2403
#<date> server id 1 end_log_pos 2494 CRC32 XXX Query_compressed thread_id=5 exec_time=x error_code=0 #<date> server id 1 end_log_pos 2494 CRC32 XXX Query_compressed thread_id=5 exec_time=x error_code=0
......
...@@ -23,7 +23,7 @@ flush logs; ...@@ -23,7 +23,7 @@ flush logs;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/; /*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
DELIMITER /*!*/; DELIMITER /*!*/;
ROLLBACK/*!*/; ROLLBACK/*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET @`a b`:=_latin1 X'68656C6C6F' COLLATE `latin1_swedish_ci`/*!*/; SET @`a b`:=_latin1 X'68656C6C6F' COLLATE `latin1_swedish_ci`/*!*/;
use `test`/*!*/; use `test`/*!*/;
...@@ -41,7 +41,7 @@ INSERT INTO t1 VALUES(@`a b`) ...@@ -41,7 +41,7 @@ INSERT INTO t1 VALUES(@`a b`)
SET TIMESTAMP=10000/*!*/; SET TIMESTAMP=10000/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET @`var1`:=_latin1 X'273B616161' COLLATE `latin1_swedish_ci`/*!*/; SET @`var1`:=_latin1 X'273B616161' COLLATE `latin1_swedish_ci`/*!*/;
SET @`var2`:=_binary X'61' COLLATE `binary`/*!*/; SET @`var2`:=_binary X'61' COLLATE `binary`/*!*/;
......
...@@ -2368,7 +2368,7 @@ crn INT -- row number ...@@ -2368,7 +2368,7 @@ crn INT -- row number
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-2 trans #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-2 trans
/*!100001 SET @@session.gtid_seq_no=2*//*!*/; /*!100001 SET @@session.gtid_seq_no=2*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -2550,7 +2550,7 @@ COMMIT/*!*/; ...@@ -2550,7 +2550,7 @@ COMMIT/*!*/;
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-3 trans #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-3 trans
/*!100001 SET @@session.gtid_seq_no=3*//*!*/; /*!100001 SET @@session.gtid_seq_no=3*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -2732,7 +2732,7 @@ COMMIT/*!*/; ...@@ -2732,7 +2732,7 @@ COMMIT/*!*/;
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-4 trans #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-4 trans
/*!100001 SET @@session.gtid_seq_no=4*//*!*/; /*!100001 SET @@session.gtid_seq_no=4*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -3080,7 +3080,7 @@ COMMIT/*!*/; ...@@ -3080,7 +3080,7 @@ COMMIT/*!*/;
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-5 trans #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-5 trans
/*!100001 SET @@session.gtid_seq_no=5*//*!*/; /*!100001 SET @@session.gtid_seq_no=5*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -3420,7 +3420,7 @@ COMMIT/*!*/; ...@@ -3420,7 +3420,7 @@ COMMIT/*!*/;
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-6 trans #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-6 trans
/*!100001 SET @@session.gtid_seq_no=6*//*!*/; /*!100001 SET @@session.gtid_seq_no=6*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -3765,7 +3765,7 @@ COMMIT/*!*/; ...@@ -3765,7 +3765,7 @@ COMMIT/*!*/;
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-7 trans #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-7 trans
/*!100001 SET @@session.gtid_seq_no=7*//*!*/; /*!100001 SET @@session.gtid_seq_no=7*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -4108,7 +4108,7 @@ COMMIT/*!*/; ...@@ -4108,7 +4108,7 @@ COMMIT/*!*/;
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-8 trans #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-8 trans
/*!100001 SET @@session.gtid_seq_no=8*//*!*/; /*!100001 SET @@session.gtid_seq_no=8*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -4454,7 +4454,7 @@ COMMIT/*!*/; ...@@ -4454,7 +4454,7 @@ COMMIT/*!*/;
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-9 trans #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-9 trans
/*!100001 SET @@session.gtid_seq_no=9*//*!*/; /*!100001 SET @@session.gtid_seq_no=9*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -4634,7 +4634,7 @@ COMMIT/*!*/; ...@@ -4634,7 +4634,7 @@ COMMIT/*!*/;
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-10 trans #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-10 trans
/*!100001 SET @@session.gtid_seq_no=10*//*!*/; /*!100001 SET @@session.gtid_seq_no=10*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -4811,7 +4811,7 @@ COMMIT/*!*/; ...@@ -4811,7 +4811,7 @@ COMMIT/*!*/;
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-11 trans #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-11 trans
/*!100001 SET @@session.gtid_seq_no=11*//*!*/; /*!100001 SET @@session.gtid_seq_no=11*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -4991,7 +4991,7 @@ COMMIT/*!*/; ...@@ -4991,7 +4991,7 @@ COMMIT/*!*/;
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-12 trans #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-12 trans
/*!100001 SET @@session.gtid_seq_no=12*//*!*/; /*!100001 SET @@session.gtid_seq_no=12*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -5293,7 +5293,7 @@ crn INT -- row number ...@@ -5293,7 +5293,7 @@ crn INT -- row number
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-2 trans #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-2 trans
/*!100001 SET @@session.gtid_seq_no=2*//*!*/; /*!100001 SET @@session.gtid_seq_no=2*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -5363,7 +5363,7 @@ COMMIT/*!*/; ...@@ -5363,7 +5363,7 @@ COMMIT/*!*/;
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-3 trans #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-3 trans
/*!100001 SET @@session.gtid_seq_no=3*//*!*/; /*!100001 SET @@session.gtid_seq_no=3*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -5442,7 +5442,7 @@ COMMIT/*!*/; ...@@ -5442,7 +5442,7 @@ COMMIT/*!*/;
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-4 trans #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-4 trans
/*!100001 SET @@session.gtid_seq_no=4*//*!*/; /*!100001 SET @@session.gtid_seq_no=4*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -5717,7 +5717,7 @@ c_3_n INT -- row number ...@@ -5717,7 +5717,7 @@ c_3_n INT -- row number
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-4 trans #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-4 trans
/*!100001 SET @@session.gtid_seq_no=4*//*!*/; /*!100001 SET @@session.gtid_seq_no=4*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -5787,7 +5787,7 @@ COMMIT/*!*/; ...@@ -5787,7 +5787,7 @@ COMMIT/*!*/;
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-5 trans #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-5 trans
/*!100001 SET @@session.gtid_seq_no=5*//*!*/; /*!100001 SET @@session.gtid_seq_no=5*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -5857,7 +5857,7 @@ COMMIT/*!*/; ...@@ -5857,7 +5857,7 @@ COMMIT/*!*/;
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-6 trans #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-6 trans
/*!100001 SET @@session.gtid_seq_no=6*//*!*/; /*!100001 SET @@session.gtid_seq_no=6*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -5927,7 +5927,7 @@ COMMIT/*!*/; ...@@ -5927,7 +5927,7 @@ COMMIT/*!*/;
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-7 trans #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-7 trans
/*!100001 SET @@session.gtid_seq_no=7*//*!*/; /*!100001 SET @@session.gtid_seq_no=7*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -6117,7 +6117,7 @@ COMMIT/*!*/; ...@@ -6117,7 +6117,7 @@ COMMIT/*!*/;
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-8 trans #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-8 trans
/*!100001 SET @@session.gtid_seq_no=8*//*!*/; /*!100001 SET @@session.gtid_seq_no=8*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -6331,7 +6331,7 @@ c3 VARCHAR(60) ...@@ -6331,7 +6331,7 @@ c3 VARCHAR(60)
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-2 trans #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-2 trans
/*!100001 SET @@session.gtid_seq_no=2*//*!*/; /*!100001 SET @@session.gtid_seq_no=2*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
......
...@@ -2368,7 +2368,7 @@ crn INT -- row number ...@@ -2368,7 +2368,7 @@ crn INT -- row number
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-2 #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-2
/*!100001 SET @@session.gtid_seq_no=2*//*!*/; /*!100001 SET @@session.gtid_seq_no=2*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -2553,7 +2553,7 @@ COMMIT ...@@ -2553,7 +2553,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-3 #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-3
/*!100001 SET @@session.gtid_seq_no=3*//*!*/; /*!100001 SET @@session.gtid_seq_no=3*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -2737,7 +2737,7 @@ COMMIT ...@@ -2737,7 +2737,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-4 #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-4
/*!100001 SET @@session.gtid_seq_no=4*//*!*/; /*!100001 SET @@session.gtid_seq_no=4*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -3087,7 +3087,7 @@ COMMIT ...@@ -3087,7 +3087,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-5 #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-5
/*!100001 SET @@session.gtid_seq_no=5*//*!*/; /*!100001 SET @@session.gtid_seq_no=5*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -3429,7 +3429,7 @@ COMMIT ...@@ -3429,7 +3429,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-6 #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-6
/*!100001 SET @@session.gtid_seq_no=6*//*!*/; /*!100001 SET @@session.gtid_seq_no=6*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -3776,7 +3776,7 @@ COMMIT ...@@ -3776,7 +3776,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-7 #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-7
/*!100001 SET @@session.gtid_seq_no=7*//*!*/; /*!100001 SET @@session.gtid_seq_no=7*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -4121,7 +4121,7 @@ COMMIT ...@@ -4121,7 +4121,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-8 #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-8
/*!100001 SET @@session.gtid_seq_no=8*//*!*/; /*!100001 SET @@session.gtid_seq_no=8*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -4469,7 +4469,7 @@ COMMIT ...@@ -4469,7 +4469,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-9 #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-9
/*!100001 SET @@session.gtid_seq_no=9*//*!*/; /*!100001 SET @@session.gtid_seq_no=9*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -4651,7 +4651,7 @@ COMMIT ...@@ -4651,7 +4651,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-10 #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-10
/*!100001 SET @@session.gtid_seq_no=10*//*!*/; /*!100001 SET @@session.gtid_seq_no=10*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -4830,7 +4830,7 @@ COMMIT ...@@ -4830,7 +4830,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-11 #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-11
/*!100001 SET @@session.gtid_seq_no=11*//*!*/; /*!100001 SET @@session.gtid_seq_no=11*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -5012,7 +5012,7 @@ COMMIT ...@@ -5012,7 +5012,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-12 #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-12
/*!100001 SET @@session.gtid_seq_no=12*//*!*/; /*!100001 SET @@session.gtid_seq_no=12*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -5316,7 +5316,7 @@ crn INT -- row number ...@@ -5316,7 +5316,7 @@ crn INT -- row number
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-2 #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-2
/*!100001 SET @@session.gtid_seq_no=2*//*!*/; /*!100001 SET @@session.gtid_seq_no=2*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -5388,7 +5388,7 @@ COMMIT ...@@ -5388,7 +5388,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-3 #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-3
/*!100001 SET @@session.gtid_seq_no=3*//*!*/; /*!100001 SET @@session.gtid_seq_no=3*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -5469,7 +5469,7 @@ COMMIT ...@@ -5469,7 +5469,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-4 #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-4
/*!100001 SET @@session.gtid_seq_no=4*//*!*/; /*!100001 SET @@session.gtid_seq_no=4*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -5746,7 +5746,7 @@ c_3_n INT -- row number ...@@ -5746,7 +5746,7 @@ c_3_n INT -- row number
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-4 #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-4
/*!100001 SET @@session.gtid_seq_no=4*//*!*/; /*!100001 SET @@session.gtid_seq_no=4*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -5818,7 +5818,7 @@ COMMIT ...@@ -5818,7 +5818,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-5 #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-5
/*!100001 SET @@session.gtid_seq_no=5*//*!*/; /*!100001 SET @@session.gtid_seq_no=5*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -5890,7 +5890,7 @@ COMMIT ...@@ -5890,7 +5890,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-6 #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-6
/*!100001 SET @@session.gtid_seq_no=6*//*!*/; /*!100001 SET @@session.gtid_seq_no=6*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -5962,7 +5962,7 @@ COMMIT ...@@ -5962,7 +5962,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-7 #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-7
/*!100001 SET @@session.gtid_seq_no=7*//*!*/; /*!100001 SET @@session.gtid_seq_no=7*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -6154,7 +6154,7 @@ COMMIT ...@@ -6154,7 +6154,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-8 #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-8
/*!100001 SET @@session.gtid_seq_no=8*//*!*/; /*!100001 SET @@session.gtid_seq_no=8*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -6370,7 +6370,7 @@ c3 VARCHAR(60) ...@@ -6370,7 +6370,7 @@ c3 VARCHAR(60)
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-2 #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-2
/*!100001 SET @@session.gtid_seq_no=2*//*!*/; /*!100001 SET @@session.gtid_seq_no=2*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
......
...@@ -172,7 +172,7 @@ c2 VARCHAR(20) ...@@ -172,7 +172,7 @@ c2 VARCHAR(20)
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-3 trans #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-3 trans
/*!100001 SET @@session.gtid_seq_no=3*//*!*/; /*!100001 SET @@session.gtid_seq_no=3*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -257,7 +257,7 @@ TRUNCATE TABLE t1 ...@@ -257,7 +257,7 @@ TRUNCATE TABLE t1
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-6 #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-6
/*!100001 SET @@session.gtid_seq_no=6*//*!*/; /*!100001 SET @@session.gtid_seq_no=6*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -287,7 +287,7 @@ COMMIT ...@@ -287,7 +287,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-7 #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-7
/*!100001 SET @@session.gtid_seq_no=7*//*!*/; /*!100001 SET @@session.gtid_seq_no=7*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -326,7 +326,7 @@ COMMIT ...@@ -326,7 +326,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-8 #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-8
/*!100001 SET @@session.gtid_seq_no=8*//*!*/; /*!100001 SET @@session.gtid_seq_no=8*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -348,7 +348,7 @@ COMMIT ...@@ -348,7 +348,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-9 trans #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-9 trans
/*!100001 SET @@session.gtid_seq_no=9*//*!*/; /*!100001 SET @@session.gtid_seq_no=9*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -433,7 +433,7 @@ TRUNCATE TABLE t2 ...@@ -433,7 +433,7 @@ TRUNCATE TABLE t2
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-12 #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-12
/*!100001 SET @@session.gtid_seq_no=12*//*!*/; /*!100001 SET @@session.gtid_seq_no=12*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -463,7 +463,7 @@ COMMIT ...@@ -463,7 +463,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-13 #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-13
/*!100001 SET @@session.gtid_seq_no=13*//*!*/; /*!100001 SET @@session.gtid_seq_no=13*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -502,7 +502,7 @@ COMMIT ...@@ -502,7 +502,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-14 #010909 4:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-14
/*!100001 SET @@session.gtid_seq_no=14*//*!*/; /*!100001 SET @@session.gtid_seq_no=14*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
......
...@@ -38,13 +38,13 @@ disconnect tmp_con; ...@@ -38,13 +38,13 @@ disconnect tmp_con;
connection default; connection default;
FLUSH LOGS; FLUSH LOGS;
# server id 1 end_log_pos # CRC32 0x######## GTID #-#-# trans # server id 1 end_log_pos # CRC32 0x######## GTID #-#-# trans
BEGIN START TRANSACTION
#Q> /* GTID */ INSERT INTO t1 VALUES (1,0) #Q> /* GTID */ INSERT INTO t1 VALUES (1,0)
# server id 1 end_log_pos # CRC32 0x######## Table_map: `test`.`t1` mapped to number # # server id 1 end_log_pos # CRC32 0x######## Table_map: `test`.`t1` mapped to number #
# server id 1 end_log_pos # CRC32 0x######## Write_rows: table id # flags: STMT_END_F # server id 1 end_log_pos # CRC32 0x######## Write_rows: table id # flags: STMT_END_F
COMMIT/*!*/; COMMIT/*!*/;
# server id 1 end_log_pos # CRC32 0x######## GTID #-#-# trans # server id 1 end_log_pos # CRC32 0x######## GTID #-#-# trans
BEGIN START TRANSACTION
#Q> /* GTID */ INSERT INTO t1 VALUES (2,0) #Q> /* GTID */ INSERT INTO t1 VALUES (2,0)
# server id 1 end_log_pos # CRC32 0x######## Table_map: `test`.`t1` mapped to number # # server id 1 end_log_pos # CRC32 0x######## Table_map: `test`.`t1` mapped to number #
# server id 1 end_log_pos # CRC32 0x######## Write_rows: table id # flags: STMT_END_F # server id 1 end_log_pos # CRC32 0x######## Write_rows: table id # flags: STMT_END_F
...@@ -52,13 +52,13 @@ COMMIT/*!*/; ...@@ -52,13 +52,13 @@ COMMIT/*!*/;
# server id 1 end_log_pos # CRC32 0x######## GTID #-#-# ddl # server id 1 end_log_pos # CRC32 0x######## GTID #-#-# ddl
/* GTID */ ALTER TABLE t1 ADD c INT /* GTID */ ALTER TABLE t1 ADD c INT
# server id 1 end_log_pos # CRC32 0x######## GTID #-#-# trans # server id 1 end_log_pos # CRC32 0x######## GTID #-#-# trans
BEGIN START TRANSACTION
#Q> /* GTID */ INSERT INTO t1 VALUES (3,0,0) #Q> /* GTID */ INSERT INTO t1 VALUES (3,0,0)
# server id 1 end_log_pos # CRC32 0x######## Table_map: `test`.`t1` mapped to number # # server id 1 end_log_pos # CRC32 0x######## Table_map: `test`.`t1` mapped to number #
# server id 1 end_log_pos # CRC32 0x######## Write_rows: table id # flags: STMT_END_F # server id 1 end_log_pos # CRC32 0x######## Write_rows: table id # flags: STMT_END_F
COMMIT/*!*/; COMMIT/*!*/;
# server id 1 end_log_pos # CRC32 0x######## GTID #-#-# trans # server id 1 end_log_pos # CRC32 0x######## GTID #-#-# trans
BEGIN START TRANSACTION
#Q> /* GTID */ UPDATE t1 SET b=1, c=1 WHERE a=2 #Q> /* GTID */ UPDATE t1 SET b=1, c=1 WHERE a=2
# server id 1 end_log_pos # CRC32 0x######## Table_map: `test`.`t1` mapped to number # # server id 1 end_log_pos # CRC32 0x######## Table_map: `test`.`t1` mapped to number #
# server id 1 end_log_pos # CRC32 0x######## Update_rows: table id # flags: STMT_END_F # server id 1 end_log_pos # CRC32 0x######## Update_rows: table id # flags: STMT_END_F
...@@ -70,7 +70,7 @@ BEGIN ...@@ -70,7 +70,7 @@ BEGIN
# server id 1 end_log_pos # CRC32 0x######## Write_rows: table id # flags: STMT_END_F # server id 1 end_log_pos # CRC32 0x######## Write_rows: table id # flags: STMT_END_F
COMMIT/*!*/; COMMIT/*!*/;
# server id 1 end_log_pos # CRC32 0x######## GTID #-#-# trans # server id 1 end_log_pos # CRC32 0x######## GTID #-#-# trans
BEGIN START TRANSACTION
#Q> /* GTID */ DELETE FROM t1 WHERE a=5 #Q> /* GTID */ DELETE FROM t1 WHERE a=5
# server id 1 end_log_pos # CRC32 0x######## Table_map: `test`.`t1` mapped to number # # server id 1 end_log_pos # CRC32 0x######## Table_map: `test`.`t1` mapped to number #
# server id 1 end_log_pos # CRC32 0x######## Delete_rows: table id # flags: STMT_END_F # server id 1 end_log_pos # CRC32 0x######## Delete_rows: table id # flags: STMT_END_F
...@@ -82,25 +82,25 @@ BEGIN ...@@ -82,25 +82,25 @@ BEGIN
# server id 1 end_log_pos # CRC32 0x######## Update_rows: table id # flags: STMT_END_F # server id 1 end_log_pos # CRC32 0x######## Update_rows: table id # flags: STMT_END_F
COMMIT/*!*/; COMMIT/*!*/;
# server id 1 end_log_pos # CRC32 0x######## GTID #-#-# trans # server id 1 end_log_pos # CRC32 0x######## GTID #-#-# trans
BEGIN START TRANSACTION
#Q> /* GTID */ INSERT INTO t1 VALUES (8, 5, 0) #Q> /* GTID */ INSERT INTO t1 VALUES (8, 5, 0)
# server id 1 end_log_pos # CRC32 0x######## Table_map: `test`.`t1` mapped to number # # server id 1 end_log_pos # CRC32 0x######## Table_map: `test`.`t1` mapped to number #
# server id 1 end_log_pos # CRC32 0x######## Write_rows: table id # flags: STMT_END_F # server id 1 end_log_pos # CRC32 0x######## Write_rows: table id # flags: STMT_END_F
COMMIT/*!*/; COMMIT/*!*/;
# server id 1 end_log_pos # CRC32 0x######## GTID #-#-# trans # server id 1 end_log_pos # CRC32 0x######## GTID #-#-# trans
BEGIN START TRANSACTION
#Q> /* GTID */ INSERT INTO t1 VALUES (9, 5, 1) #Q> /* GTID */ INSERT INTO t1 VALUES (9, 5, 1)
# server id 1 end_log_pos # CRC32 0x######## Table_map: `test`.`t1` mapped to number # # server id 1 end_log_pos # CRC32 0x######## Table_map: `test`.`t1` mapped to number #
# server id 1 end_log_pos # CRC32 0x######## Write_rows: table id # flags: STMT_END_F # server id 1 end_log_pos # CRC32 0x######## Write_rows: table id # flags: STMT_END_F
COMMIT/*!*/; COMMIT/*!*/;
# server id 1 end_log_pos # CRC32 0x######## GTID #-#-# trans # server id 1 end_log_pos # CRC32 0x######## GTID #-#-# trans
BEGIN START TRANSACTION
#Q> /* GTID */ INSERT INTO t1 VALUES (10, 6, 0) #Q> /* GTID */ INSERT INTO t1 VALUES (10, 6, 0)
# server id 1 end_log_pos # CRC32 0x######## Table_map: `test`.`t1` mapped to number # # server id 1 end_log_pos # CRC32 0x######## Table_map: `test`.`t1` mapped to number #
# server id 1 end_log_pos # CRC32 0x######## Write_rows: table id # flags: STMT_END_F # server id 1 end_log_pos # CRC32 0x######## Write_rows: table id # flags: STMT_END_F
COMMIT/*!*/; COMMIT/*!*/;
# server id 1 end_log_pos # CRC32 0x######## GTID #-#-# trans # server id 1 end_log_pos # CRC32 0x######## GTID #-#-# trans
BEGIN START TRANSACTION
#Q> /* GTID */ INSERT INTO t1 VALUES (11, 7, 0) #Q> /* GTID */ INSERT INTO t1 VALUES (11, 7, 0)
# server id 1 end_log_pos # CRC32 0x######## Table_map: `test`.`t1` mapped to number # # server id 1 end_log_pos # CRC32 0x######## Table_map: `test`.`t1` mapped to number #
# server id 1 end_log_pos # CRC32 0x######## Write_rows: table id # flags: STMT_END_F # server id 1 end_log_pos # CRC32 0x######## Write_rows: table id # flags: STMT_END_F
......
...@@ -38,21 +38,21 @@ disconnect tmp_con; ...@@ -38,21 +38,21 @@ disconnect tmp_con;
connection default; connection default;
FLUSH LOGS; FLUSH LOGS;
# server id 1 end_log_pos # CRC32 0x######## GTID #-#-# trans # server id 1 end_log_pos # CRC32 0x######## GTID #-#-# trans
BEGIN START TRANSACTION
/* GTID */ INSERT INTO t1 VALUES (1,0) /* GTID */ INSERT INTO t1 VALUES (1,0)
COMMIT/*!*/; COMMIT/*!*/;
# server id 1 end_log_pos # CRC32 0x######## GTID #-#-# trans # server id 1 end_log_pos # CRC32 0x######## GTID #-#-# trans
BEGIN START TRANSACTION
/* GTID */ INSERT INTO t1 VALUES (2,0) /* GTID */ INSERT INTO t1 VALUES (2,0)
COMMIT/*!*/; COMMIT/*!*/;
# server id 1 end_log_pos # CRC32 0x######## GTID #-#-# ddl # server id 1 end_log_pos # CRC32 0x######## GTID #-#-# ddl
/* GTID */ ALTER TABLE t1 ADD c INT /* GTID */ ALTER TABLE t1 ADD c INT
# server id 1 end_log_pos # CRC32 0x######## GTID #-#-# trans # server id 1 end_log_pos # CRC32 0x######## GTID #-#-# trans
BEGIN START TRANSACTION
/* GTID */ INSERT INTO t1 VALUES (3,0,0) /* GTID */ INSERT INTO t1 VALUES (3,0,0)
COMMIT/*!*/; COMMIT/*!*/;
# server id 1 end_log_pos # CRC32 0x######## GTID #-#-# ddl # server id 1 end_log_pos # CRC32 0x######## GTID #-#-# ddl
BEGIN START TRANSACTION
/* GTID */ UPDATE t1 SET b=1, c=1 WHERE a=2 /* GTID */ UPDATE t1 SET b=1, c=1 WHERE a=2
/* GTID */ CREATE TEMPORARY TABLE t2 (a INT PRIMARY KEY, b INT) ENGINE=InnoDB /* GTID */ CREATE TEMPORARY TABLE t2 (a INT PRIMARY KEY, b INT) ENGINE=InnoDB
/* GTID */ INSERT INTO t2 VALUES (4,10), (5,20) /* GTID */ INSERT INTO t2 VALUES (4,10), (5,20)
...@@ -63,7 +63,7 @@ COMMIT/*!*/; ...@@ -63,7 +63,7 @@ COMMIT/*!*/;
# server id 1 end_log_pos # CRC32 0x######## GTID #-#-# ddl # server id 1 end_log_pos # CRC32 0x######## GTID #-#-# ddl
/* GTID */ CREATE TEMPORARY TABLE t3 (a INT PRIMARY KEY) ENGINE=InnoDB /* GTID */ CREATE TEMPORARY TABLE t3 (a INT PRIMARY KEY) ENGINE=InnoDB
# server id 1 end_log_pos # CRC32 0x######## GTID #-#-# ddl # server id 1 end_log_pos # CRC32 0x######## GTID #-#-# ddl
BEGIN START TRANSACTION
/* GTID */ DELETE FROM t1 WHERE a=5 /* GTID */ DELETE FROM t1 WHERE a=5
/* GTID */ INSERT INTO t3 VALUES (7) /* GTID */ INSERT INTO t3 VALUES (7)
/* GTID */ INSERT INTO t1 SELECT a, 4, 0 FROM t3 /* GTID */ INSERT INTO t1 SELECT a, 4, 0 FROM t3
...@@ -73,21 +73,21 @@ COMMIT/*!*/; ...@@ -73,21 +73,21 @@ COMMIT/*!*/;
# server id 1 end_log_pos # CRC32 0x######## GTID #-#-# ddl # server id 1 end_log_pos # CRC32 0x######## GTID #-#-# ddl
/* GTID */ CREATE TEMPORARY TABLE t4 (a INT PRIMARY KEY) ENGINE=InnoDB /* GTID */ CREATE TEMPORARY TABLE t4 (a INT PRIMARY KEY) ENGINE=InnoDB
# server id 1 end_log_pos # CRC32 0x######## GTID #-#-# trans # server id 1 end_log_pos # CRC32 0x######## GTID #-#-# trans
BEGIN START TRANSACTION
/* GTID */ INSERT INTO t1 VALUES (8, 5, 0) /* GTID */ INSERT INTO t1 VALUES (8, 5, 0)
COMMIT/*!*/; COMMIT/*!*/;
# server id 1 end_log_pos # CRC32 0x######## GTID #-#-# ddl # server id 1 end_log_pos # CRC32 0x######## GTID #-#-# ddl
/* GTID */ ALTER TABLE t4 ADD b INT /* GTID */ ALTER TABLE t4 ADD b INT
# server id 1 end_log_pos # CRC32 0x######## GTID #-#-# trans # server id 1 end_log_pos # CRC32 0x######## GTID #-#-# trans
BEGIN START TRANSACTION
/* GTID */ INSERT INTO t1 VALUES (9, 5, 1) /* GTID */ INSERT INTO t1 VALUES (9, 5, 1)
COMMIT/*!*/; COMMIT/*!*/;
# server id 1 end_log_pos # CRC32 0x######## GTID #-#-# trans # server id 1 end_log_pos # CRC32 0x######## GTID #-#-# trans
BEGIN START TRANSACTION
/* GTID */ INSERT INTO t1 VALUES (10, 6, 0) /* GTID */ INSERT INTO t1 VALUES (10, 6, 0)
COMMIT/*!*/; COMMIT/*!*/;
# server id 1 end_log_pos # CRC32 0x######## GTID #-#-# ddl # server id 1 end_log_pos # CRC32 0x######## GTID #-#-# ddl
BEGIN START TRANSACTION
/* GTID */ CREATE TEMPORARY TABLE t5 (a INT PRIMARY KEY) ENGINE=InnoDB /* GTID */ CREATE TEMPORARY TABLE t5 (a INT PRIMARY KEY) ENGINE=InnoDB
/* GTID */ INSERT INTO t1 VALUES (11, 7, 0) /* GTID */ INSERT INTO t1 VALUES (11, 7, 0)
COMMIT/*!*/; COMMIT/*!*/;
......
...@@ -144,7 +144,7 @@ CREATE DATABASE test3 ...@@ -144,7 +144,7 @@ CREATE DATABASE test3
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-4 #010909 4:46:40 server id # end_log_pos # GTID 0-1-4
/*!100001 SET @@session.gtid_seq_no=4*//*!*/; /*!100001 SET @@session.gtid_seq_no=4*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -171,7 +171,7 @@ COMMIT ...@@ -171,7 +171,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-5 #010909 4:46:40 server id # end_log_pos # GTID 0-1-5
/*!100001 SET @@session.gtid_seq_no=5*//*!*/; /*!100001 SET @@session.gtid_seq_no=5*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -198,7 +198,7 @@ COMMIT ...@@ -198,7 +198,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-6 #010909 4:46:40 server id # end_log_pos # GTID 0-1-6
/*!100001 SET @@session.gtid_seq_no=6*//*!*/; /*!100001 SET @@session.gtid_seq_no=6*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -225,7 +225,7 @@ COMMIT ...@@ -225,7 +225,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-7 #010909 4:46:40 server id # end_log_pos # GTID 0-1-7
/*!100001 SET @@session.gtid_seq_no=7*//*!*/; /*!100001 SET @@session.gtid_seq_no=7*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -267,7 +267,7 @@ COMMIT ...@@ -267,7 +267,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-8 #010909 4:46:40 server id # end_log_pos # GTID 0-1-8
/*!100001 SET @@session.gtid_seq_no=8*//*!*/; /*!100001 SET @@session.gtid_seq_no=8*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -294,7 +294,7 @@ COMMIT ...@@ -294,7 +294,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-9 #010909 4:46:40 server id # end_log_pos # GTID 0-1-9
/*!100001 SET @@session.gtid_seq_no=9*//*!*/; /*!100001 SET @@session.gtid_seq_no=9*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -374,7 +374,7 @@ CREATE DATABASE test1 ...@@ -374,7 +374,7 @@ CREATE DATABASE test1
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-4 #010909 4:46:40 server id # end_log_pos # GTID 0-1-4
/*!100001 SET @@session.gtid_seq_no=4*//*!*/; /*!100001 SET @@session.gtid_seq_no=4*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -401,7 +401,7 @@ COMMIT ...@@ -401,7 +401,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-5 #010909 4:46:40 server id # end_log_pos # GTID 0-1-5
/*!100001 SET @@session.gtid_seq_no=5*//*!*/; /*!100001 SET @@session.gtid_seq_no=5*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -414,7 +414,7 @@ COMMIT ...@@ -414,7 +414,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-6 #010909 4:46:40 server id # end_log_pos # GTID 0-1-6
/*!100001 SET @@session.gtid_seq_no=6*//*!*/; /*!100001 SET @@session.gtid_seq_no=6*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -427,7 +427,7 @@ COMMIT ...@@ -427,7 +427,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-7 #010909 4:46:40 server id # end_log_pos # GTID 0-1-7
/*!100001 SET @@session.gtid_seq_no=7*//*!*/; /*!100001 SET @@session.gtid_seq_no=7*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -458,7 +458,7 @@ COMMIT ...@@ -458,7 +458,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-8 #010909 4:46:40 server id # end_log_pos # GTID 0-1-8
/*!100001 SET @@session.gtid_seq_no=8*//*!*/; /*!100001 SET @@session.gtid_seq_no=8*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -471,7 +471,7 @@ COMMIT ...@@ -471,7 +471,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-9 #010909 4:46:40 server id # end_log_pos # GTID 0-1-9
/*!100001 SET @@session.gtid_seq_no=9*//*!*/; /*!100001 SET @@session.gtid_seq_no=9*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -542,7 +542,7 @@ CREATE DATABASE test3 ...@@ -542,7 +542,7 @@ CREATE DATABASE test3
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-4 #010909 4:46:40 server id # end_log_pos # GTID 0-1-4
/*!100001 SET @@session.gtid_seq_no=4*//*!*/; /*!100001 SET @@session.gtid_seq_no=4*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -567,7 +567,7 @@ COMMIT ...@@ -567,7 +567,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-5 #010909 4:46:40 server id # end_log_pos # GTID 0-1-5
/*!100001 SET @@session.gtid_seq_no=5*//*!*/; /*!100001 SET @@session.gtid_seq_no=5*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -592,7 +592,7 @@ COMMIT ...@@ -592,7 +592,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-6 #010909 4:46:40 server id # end_log_pos # GTID 0-1-6
/*!100001 SET @@session.gtid_seq_no=6*//*!*/; /*!100001 SET @@session.gtid_seq_no=6*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -617,7 +617,7 @@ COMMIT ...@@ -617,7 +617,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-7 #010909 4:46:40 server id # end_log_pos # GTID 0-1-7
/*!100001 SET @@session.gtid_seq_no=7*//*!*/; /*!100001 SET @@session.gtid_seq_no=7*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -655,7 +655,7 @@ COMMIT ...@@ -655,7 +655,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-8 #010909 4:46:40 server id # end_log_pos # GTID 0-1-8
/*!100001 SET @@session.gtid_seq_no=8*//*!*/; /*!100001 SET @@session.gtid_seq_no=8*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -680,7 +680,7 @@ COMMIT ...@@ -680,7 +680,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-9 #010909 4:46:40 server id # end_log_pos # GTID 0-1-9
/*!100001 SET @@session.gtid_seq_no=9*//*!*/; /*!100001 SET @@session.gtid_seq_no=9*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -768,7 +768,7 @@ CREATE DATABASE test3 ...@@ -768,7 +768,7 @@ CREATE DATABASE test3
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-4 #010909 4:46:40 server id # end_log_pos # GTID 0-1-4
/*!100001 SET @@session.gtid_seq_no=4*//*!*/; /*!100001 SET @@session.gtid_seq_no=4*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -795,7 +795,7 @@ COMMIT ...@@ -795,7 +795,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-5 #010909 4:46:40 server id # end_log_pos # GTID 0-1-5
/*!100001 SET @@session.gtid_seq_no=5*//*!*/; /*!100001 SET @@session.gtid_seq_no=5*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -822,7 +822,7 @@ COMMIT ...@@ -822,7 +822,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-6 #010909 4:46:40 server id # end_log_pos # GTID 0-1-6
/*!100001 SET @@session.gtid_seq_no=6*//*!*/; /*!100001 SET @@session.gtid_seq_no=6*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -849,7 +849,7 @@ COMMIT ...@@ -849,7 +849,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-7 #010909 4:46:40 server id # end_log_pos # GTID 0-1-7
/*!100001 SET @@session.gtid_seq_no=7*//*!*/; /*!100001 SET @@session.gtid_seq_no=7*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -891,7 +891,7 @@ COMMIT ...@@ -891,7 +891,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-8 #010909 4:46:40 server id # end_log_pos # GTID 0-1-8
/*!100001 SET @@session.gtid_seq_no=8*//*!*/; /*!100001 SET @@session.gtid_seq_no=8*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -918,7 +918,7 @@ COMMIT ...@@ -918,7 +918,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-9 #010909 4:46:40 server id # end_log_pos # GTID 0-1-9
/*!100001 SET @@session.gtid_seq_no=9*//*!*/; /*!100001 SET @@session.gtid_seq_no=9*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -998,7 +998,7 @@ CREATE DATABASE test1 ...@@ -998,7 +998,7 @@ CREATE DATABASE test1
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-4 #010909 4:46:40 server id # end_log_pos # GTID 0-1-4
/*!100001 SET @@session.gtid_seq_no=4*//*!*/; /*!100001 SET @@session.gtid_seq_no=4*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -1025,7 +1025,7 @@ COMMIT ...@@ -1025,7 +1025,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-5 #010909 4:46:40 server id # end_log_pos # GTID 0-1-5
/*!100001 SET @@session.gtid_seq_no=5*//*!*/; /*!100001 SET @@session.gtid_seq_no=5*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -1038,7 +1038,7 @@ COMMIT ...@@ -1038,7 +1038,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-6 #010909 4:46:40 server id # end_log_pos # GTID 0-1-6
/*!100001 SET @@session.gtid_seq_no=6*//*!*/; /*!100001 SET @@session.gtid_seq_no=6*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -1051,7 +1051,7 @@ COMMIT ...@@ -1051,7 +1051,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-7 #010909 4:46:40 server id # end_log_pos # GTID 0-1-7
/*!100001 SET @@session.gtid_seq_no=7*//*!*/; /*!100001 SET @@session.gtid_seq_no=7*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -1082,7 +1082,7 @@ COMMIT ...@@ -1082,7 +1082,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-8 #010909 4:46:40 server id # end_log_pos # GTID 0-1-8
/*!100001 SET @@session.gtid_seq_no=8*//*!*/; /*!100001 SET @@session.gtid_seq_no=8*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -1095,7 +1095,7 @@ COMMIT ...@@ -1095,7 +1095,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-9 #010909 4:46:40 server id # end_log_pos # GTID 0-1-9
/*!100001 SET @@session.gtid_seq_no=9*//*!*/; /*!100001 SET @@session.gtid_seq_no=9*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -1166,7 +1166,7 @@ CREATE DATABASE test3 ...@@ -1166,7 +1166,7 @@ CREATE DATABASE test3
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-4 #010909 4:46:40 server id # end_log_pos # GTID 0-1-4
/*!100001 SET @@session.gtid_seq_no=4*//*!*/; /*!100001 SET @@session.gtid_seq_no=4*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
#010909 4:46:40 server id # end_log_pos # Table_map: `test1`.`t1` mapped to number # #010909 4:46:40 server id # end_log_pos # Table_map: `test1`.`t1` mapped to number #
...@@ -1190,7 +1190,7 @@ COMMIT ...@@ -1190,7 +1190,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-5 #010909 4:46:40 server id # end_log_pos # GTID 0-1-5
/*!100001 SET @@session.gtid_seq_no=5*//*!*/; /*!100001 SET @@session.gtid_seq_no=5*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
#010909 4:46:40 server id # end_log_pos # Table_map: `test2`.`t2` mapped to number # #010909 4:46:40 server id # end_log_pos # Table_map: `test2`.`t2` mapped to number #
...@@ -1214,7 +1214,7 @@ COMMIT ...@@ -1214,7 +1214,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-6 #010909 4:46:40 server id # end_log_pos # GTID 0-1-6
/*!100001 SET @@session.gtid_seq_no=6*//*!*/; /*!100001 SET @@session.gtid_seq_no=6*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
#010909 4:46:40 server id # end_log_pos # Table_map: `test3`.`t3` mapped to number # #010909 4:46:40 server id # end_log_pos # Table_map: `test3`.`t3` mapped to number #
...@@ -1238,7 +1238,7 @@ COMMIT ...@@ -1238,7 +1238,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-7 #010909 4:46:40 server id # end_log_pos # GTID 0-1-7
/*!100001 SET @@session.gtid_seq_no=7*//*!*/; /*!100001 SET @@session.gtid_seq_no=7*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
#010909 4:46:40 server id # end_log_pos # Table_map: `test1`.`t1` mapped to number # #010909 4:46:40 server id # end_log_pos # Table_map: `test1`.`t1` mapped to number #
...@@ -1275,7 +1275,7 @@ COMMIT ...@@ -1275,7 +1275,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-8 #010909 4:46:40 server id # end_log_pos # GTID 0-1-8
/*!100001 SET @@session.gtid_seq_no=8*//*!*/; /*!100001 SET @@session.gtid_seq_no=8*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
#010909 4:46:40 server id # end_log_pos # Table_map: `test2`.`t2` mapped to number # #010909 4:46:40 server id # end_log_pos # Table_map: `test2`.`t2` mapped to number #
...@@ -1299,7 +1299,7 @@ COMMIT ...@@ -1299,7 +1299,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-9 #010909 4:46:40 server id # end_log_pos # GTID 0-1-9
/*!100001 SET @@session.gtid_seq_no=9*//*!*/; /*!100001 SET @@session.gtid_seq_no=9*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
#010909 4:46:40 server id # end_log_pos # Table_map: `test2`.`t2` mapped to number # #010909 4:46:40 server id # end_log_pos # Table_map: `test2`.`t2` mapped to number #
......
...@@ -16,7 +16,7 @@ flush logs; ...@@ -16,7 +16,7 @@ flush logs;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/; /*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
DELIMITER /*!*/; DELIMITER /*!*/;
ROLLBACK/*!*/; ROLLBACK/*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# Annotate_rows: # Annotate_rows:
#Q> insert into t2 values (@v) #Q> insert into t2 values (@v)
...@@ -104,7 +104,7 @@ CREATE TABLE t1 (a VARCHAR(10) CHARACTER SET utf8) ...@@ -104,7 +104,7 @@ CREATE TABLE t1 (a VARCHAR(10) CHARACTER SET utf8)
# at # # at #
#YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX GTID #-#-# #YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX GTID #-#-#
/*!100001 SET @@session.gtid_seq_no=#*//*!*/; /*!100001 SET @@session.gtid_seq_no=#*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -125,7 +125,7 @@ COMMIT ...@@ -125,7 +125,7 @@ COMMIT
# at # # at #
#YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX GTID #-#-# #YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX GTID #-#-#
/*!100001 SET @@session.gtid_seq_no=#*//*!*/; /*!100001 SET @@session.gtid_seq_no=#*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -146,7 +146,7 @@ COMMIT ...@@ -146,7 +146,7 @@ COMMIT
# at # # at #
#YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX GTID #-#-# #YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX GTID #-#-#
/*!100001 SET @@session.gtid_seq_no=#*//*!*/; /*!100001 SET @@session.gtid_seq_no=#*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -167,7 +167,7 @@ COMMIT ...@@ -167,7 +167,7 @@ COMMIT
# at # # at #
#YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX GTID #-#-# #YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX GTID #-#-#
/*!100001 SET @@session.gtid_seq_no=#*//*!*/; /*!100001 SET @@session.gtid_seq_no=#*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -188,7 +188,7 @@ COMMIT ...@@ -188,7 +188,7 @@ COMMIT
# at # # at #
#YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX GTID #-#-# #YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX GTID #-#-#
/*!100001 SET @@session.gtid_seq_no=#*//*!*/; /*!100001 SET @@session.gtid_seq_no=#*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -209,7 +209,7 @@ COMMIT ...@@ -209,7 +209,7 @@ COMMIT
# at # # at #
#YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX GTID #-#-# #YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX GTID #-#-#
/*!100001 SET @@session.gtid_seq_no=#*//*!*/; /*!100001 SET @@session.gtid_seq_no=#*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
......
...@@ -62,7 +62,7 @@ CREATE TABLE t1 (a INT, b INT) ...@@ -62,7 +62,7 @@ CREATE TABLE t1 (a INT, b INT)
# at # # at #
#010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-2 #010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-2
/*!100001 SET @@session.gtid_seq_no=2*//*!*/; /*!100001 SET @@session.gtid_seq_no=2*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -97,7 +97,7 @@ CREATE TABLE t2 (a INT) ...@@ -97,7 +97,7 @@ CREATE TABLE t2 (a INT)
# at # # at #
#010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-4 #010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-4
/*!100001 SET @@session.gtid_seq_no=4*//*!*/; /*!100001 SET @@session.gtid_seq_no=4*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -121,7 +121,7 @@ COMMIT ...@@ -121,7 +121,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-5 #010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-5
/*!100001 SET @@session.gtid_seq_no=5*//*!*/; /*!100001 SET @@session.gtid_seq_no=5*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -152,7 +152,7 @@ CREATE TABLE t3 (a INT) ...@@ -152,7 +152,7 @@ CREATE TABLE t3 (a INT)
# at # # at #
#010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-7 #010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-7
/*!100001 SET @@session.gtid_seq_no=7*//*!*/; /*!100001 SET @@session.gtid_seq_no=7*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -176,7 +176,7 @@ COMMIT ...@@ -176,7 +176,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-8 #010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-8
/*!100001 SET @@session.gtid_seq_no=8*//*!*/; /*!100001 SET @@session.gtid_seq_no=8*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -198,7 +198,7 @@ COMMIT ...@@ -198,7 +198,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-9 #010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-9
/*!100001 SET @@session.gtid_seq_no=9*//*!*/; /*!100001 SET @@session.gtid_seq_no=9*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -237,7 +237,7 @@ COMMIT ...@@ -237,7 +237,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-10 #010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-10
/*!100001 SET @@session.gtid_seq_no=10*//*!*/; /*!100001 SET @@session.gtid_seq_no=10*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -303,7 +303,7 @@ CREATE TABLE t1 (a INT, b INT) ...@@ -303,7 +303,7 @@ CREATE TABLE t1 (a INT, b INT)
# at # # at #
#010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-2 #010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-2
/*!100001 SET @@session.gtid_seq_no=2*//*!*/; /*!100001 SET @@session.gtid_seq_no=2*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -338,7 +338,7 @@ CREATE TABLE t2 (a INT) ...@@ -338,7 +338,7 @@ CREATE TABLE t2 (a INT)
# at # # at #
#010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-4 #010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-4
/*!100001 SET @@session.gtid_seq_no=4*//*!*/; /*!100001 SET @@session.gtid_seq_no=4*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -362,7 +362,7 @@ COMMIT ...@@ -362,7 +362,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-5 #010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-5
/*!100001 SET @@session.gtid_seq_no=5*//*!*/; /*!100001 SET @@session.gtid_seq_no=5*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -393,7 +393,7 @@ CREATE TABLE t3 (a INT) ...@@ -393,7 +393,7 @@ CREATE TABLE t3 (a INT)
# at # # at #
#010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-7 #010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-7
/*!100001 SET @@session.gtid_seq_no=7*//*!*/; /*!100001 SET @@session.gtid_seq_no=7*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -417,7 +417,7 @@ COMMIT ...@@ -417,7 +417,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-8 #010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-8
/*!100001 SET @@session.gtid_seq_no=8*//*!*/; /*!100001 SET @@session.gtid_seq_no=8*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -439,7 +439,7 @@ COMMIT ...@@ -439,7 +439,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-9 #010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-9
/*!100001 SET @@session.gtid_seq_no=9*//*!*/; /*!100001 SET @@session.gtid_seq_no=9*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -478,7 +478,7 @@ COMMIT ...@@ -478,7 +478,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-10 #010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-10
/*!100001 SET @@session.gtid_seq_no=10*//*!*/; /*!100001 SET @@session.gtid_seq_no=10*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
......
...@@ -15,7 +15,7 @@ flush logs; ...@@ -15,7 +15,7 @@ flush logs;
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/; /*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
DELIMITER /*!*/; DELIMITER /*!*/;
ROLLBACK/*!*/; ROLLBACK/*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET @`v`:=_ucs2 X'006100620063' COLLATE `ucs2_general_ci`/*!*/; SET @`v`:=_ucs2 X'006100620063' COLLATE `ucs2_general_ci`/*!*/;
use `test`/*!*/; use `test`/*!*/;
...@@ -106,7 +106,7 @@ CREATE TABLE t1 (a VARCHAR(10) CHARACTER SET utf8) ...@@ -106,7 +106,7 @@ CREATE TABLE t1 (a VARCHAR(10) CHARACTER SET utf8)
# at # # at #
#YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX GTID #-#-# #YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX GTID #-#-#
/*!100001 SET @@session.gtid_seq_no=#*//*!*/; /*!100001 SET @@session.gtid_seq_no=#*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
#YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX Query thread_id=# exec_time=# error_code=0 #YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX Query thread_id=# exec_time=# error_code=0
...@@ -121,7 +121,7 @@ COMMIT ...@@ -121,7 +121,7 @@ COMMIT
# at # # at #
#YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX GTID #-#-# #YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX GTID #-#-#
/*!100001 SET @@session.gtid_seq_no=#*//*!*/; /*!100001 SET @@session.gtid_seq_no=#*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
#YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX Query thread_id=# exec_time=# error_code=0 #YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX Query thread_id=# exec_time=# error_code=0
...@@ -136,7 +136,7 @@ COMMIT ...@@ -136,7 +136,7 @@ COMMIT
# at # # at #
#YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX GTID #-#-# #YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX GTID #-#-#
/*!100001 SET @@session.gtid_seq_no=#*//*!*/; /*!100001 SET @@session.gtid_seq_no=#*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
#YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX Query thread_id=# exec_time=# error_code=0 #YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX Query thread_id=# exec_time=# error_code=0
...@@ -151,7 +151,7 @@ COMMIT ...@@ -151,7 +151,7 @@ COMMIT
# at # # at #
#YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX GTID #-#-# #YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX GTID #-#-#
/*!100001 SET @@session.gtid_seq_no=#*//*!*/; /*!100001 SET @@session.gtid_seq_no=#*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
#YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX Query thread_id=# exec_time=# error_code=0 #YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX Query thread_id=# exec_time=# error_code=0
...@@ -166,7 +166,7 @@ COMMIT ...@@ -166,7 +166,7 @@ COMMIT
# at # # at #
#YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX GTID #-#-# #YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX GTID #-#-#
/*!100001 SET @@session.gtid_seq_no=#*//*!*/; /*!100001 SET @@session.gtid_seq_no=#*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
#YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX Query thread_id=# exec_time=# error_code=0 #YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX Query thread_id=# exec_time=# error_code=0
...@@ -181,7 +181,7 @@ COMMIT ...@@ -181,7 +181,7 @@ COMMIT
# at # # at #
#YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX GTID #-#-# #YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX GTID #-#-#
/*!100001 SET @@session.gtid_seq_no=#*//*!*/; /*!100001 SET @@session.gtid_seq_no=#*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
#YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX Query thread_id=# exec_time=# error_code=0 #YYMMDD HH:MM:SS server id # end_log_pos # CRC32 XXX Query thread_id=# exec_time=# error_code=0
......
...@@ -81,7 +81,7 @@ c08 TEXT ...@@ -81,7 +81,7 @@ c08 TEXT
# at # # at #
#010909 9:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-2 trans #010909 9:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-2 trans
/*!100001 SET @@session.gtid_seq_no=2*//*!*/; /*!100001 SET @@session.gtid_seq_no=2*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -107,7 +107,7 @@ COMMIT/*!*/; ...@@ -107,7 +107,7 @@ COMMIT/*!*/;
# at # # at #
#010909 9:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-3 trans #010909 9:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-3 trans
/*!100001 SET @@session.gtid_seq_no=3*//*!*/; /*!100001 SET @@session.gtid_seq_no=3*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -133,7 +133,7 @@ COMMIT/*!*/; ...@@ -133,7 +133,7 @@ COMMIT/*!*/;
# at # # at #
#010909 9:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-4 trans #010909 9:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-4 trans
/*!100001 SET @@session.gtid_seq_no=4*//*!*/; /*!100001 SET @@session.gtid_seq_no=4*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -159,7 +159,7 @@ COMMIT/*!*/; ...@@ -159,7 +159,7 @@ COMMIT/*!*/;
# at # # at #
#010909 9:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-5 trans #010909 9:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-5 trans
/*!100001 SET @@session.gtid_seq_no=5*//*!*/; /*!100001 SET @@session.gtid_seq_no=5*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -213,7 +213,7 @@ COMMIT/*!*/; ...@@ -213,7 +213,7 @@ COMMIT/*!*/;
# at # # at #
#010909 9:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-6 trans #010909 9:46:40 server id 1 end_log_pos # CRC32 XXX GTID 0-1-6 trans
/*!100001 SET @@session.gtid_seq_no=6*//*!*/; /*!100001 SET @@session.gtid_seq_no=6*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -296,7 +296,7 @@ ROLLBACK/*!*/; ...@@ -296,7 +296,7 @@ ROLLBACK/*!*/;
# Number of rows: 3 # Number of rows: 3
#010909 9:46:40 server id 1 end_log_pos # CRC32 XXX Rotate to master-bin.000002 pos: 4 #010909 9:46:40 server id 1 end_log_pos # CRC32 XXX Rotate to master-bin.000002 pos: 4
#010909 9:46:40 server id 1 end_log_pos # CRC32 XXX Xid = # #010909 9:46:40 server id 1 end_log_pos # CRC32 XXX Xid = #
BEGIN/*!*/; START TRANSACTION/*!*/;
#010909 9:46:40 server id 1 end_log_pos # CRC32 XXX Write_rows: table id # flags: STMT_END_F #010909 9:46:40 server id 1 end_log_pos # CRC32 XXX Write_rows: table id # flags: STMT_END_F
### INSERT INTO `test`.`t1` ### INSERT INTO `test`.`t1`
### SET ### SET
...@@ -331,7 +331,7 @@ BEGIN/*!*/; ...@@ -331,7 +331,7 @@ BEGIN/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
#010909 9:46:40 server id 1 end_log_pos # CRC32 XXX Xid = # #010909 9:46:40 server id 1 end_log_pos # CRC32 XXX Xid = #
BEGIN/*!*/; START TRANSACTION/*!*/;
#010909 9:46:40 server id 1 end_log_pos # CRC32 XXX Update_rows: table id # flags: STMT_END_F #010909 9:46:40 server id 1 end_log_pos # CRC32 XXX Update_rows: table id # flags: STMT_END_F
### UPDATE `test`.`t1` ### UPDATE `test`.`t1`
### WHERE ### WHERE
...@@ -374,7 +374,7 @@ BEGIN/*!*/; ...@@ -374,7 +374,7 @@ BEGIN/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
#010909 9:46:40 server id 1 end_log_pos # CRC32 XXX Xid = # #010909 9:46:40 server id 1 end_log_pos # CRC32 XXX Xid = #
BEGIN/*!*/; START TRANSACTION/*!*/;
#010909 9:46:40 server id 1 end_log_pos # CRC32 XXX Delete_rows: table id # flags: STMT_END_F #010909 9:46:40 server id 1 end_log_pos # CRC32 XXX Delete_rows: table id # flags: STMT_END_F
### DELETE FROM `test`.`t1` ### DELETE FROM `test`.`t1`
### WHERE ### WHERE
...@@ -389,7 +389,7 @@ BEGIN/*!*/; ...@@ -389,7 +389,7 @@ BEGIN/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
#010909 9:46:40 server id 1 end_log_pos # CRC32 XXX Xid = # #010909 9:46:40 server id 1 end_log_pos # CRC32 XXX Xid = #
BEGIN/*!*/; START TRANSACTION/*!*/;
#010909 9:46:40 server id 1 end_log_pos # CRC32 XXX Delete_rows: table id # flags: STMT_END_F #010909 9:46:40 server id 1 end_log_pos # CRC32 XXX Delete_rows: table id # flags: STMT_END_F
### DELETE FROM `test`.`t1` ### DELETE FROM `test`.`t1`
### WHERE ### WHERE
...@@ -404,7 +404,7 @@ BEGIN/*!*/; ...@@ -404,7 +404,7 @@ BEGIN/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
#010909 9:46:40 server id 1 end_log_pos # CRC32 XXX Xid = # #010909 9:46:40 server id 1 end_log_pos # CRC32 XXX Xid = #
BEGIN/*!*/; START TRANSACTION/*!*/;
#010909 9:46:40 server id 1 end_log_pos # CRC32 XXX Delete_rows: table id # flags: STMT_END_F #010909 9:46:40 server id 1 end_log_pos # CRC32 XXX Delete_rows: table id # flags: STMT_END_F
### DELETE FROM `test`.`t1` ### DELETE FROM `test`.`t1`
### WHERE ### WHERE
......
...@@ -148,7 +148,7 @@ CREATE DATABASE test3 ...@@ -148,7 +148,7 @@ CREATE DATABASE test3
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-4 #010909 4:46:40 server id # end_log_pos # GTID 0-1-4
/*!100001 SET @@session.gtid_seq_no=4*//*!*/; /*!100001 SET @@session.gtid_seq_no=4*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -175,7 +175,7 @@ COMMIT ...@@ -175,7 +175,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-5 #010909 4:46:40 server id # end_log_pos # GTID 0-1-5
/*!100001 SET @@session.gtid_seq_no=5*//*!*/; /*!100001 SET @@session.gtid_seq_no=5*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -202,7 +202,7 @@ COMMIT ...@@ -202,7 +202,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-6 #010909 4:46:40 server id # end_log_pos # GTID 0-1-6
/*!100001 SET @@session.gtid_seq_no=6*//*!*/; /*!100001 SET @@session.gtid_seq_no=6*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -229,7 +229,7 @@ COMMIT ...@@ -229,7 +229,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-7 #010909 4:46:40 server id # end_log_pos # GTID 0-1-7
/*!100001 SET @@session.gtid_seq_no=7*//*!*/; /*!100001 SET @@session.gtid_seq_no=7*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -271,7 +271,7 @@ COMMIT ...@@ -271,7 +271,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-8 #010909 4:46:40 server id # end_log_pos # GTID 0-1-8
/*!100001 SET @@session.gtid_seq_no=8*//*!*/; /*!100001 SET @@session.gtid_seq_no=8*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -298,7 +298,7 @@ COMMIT ...@@ -298,7 +298,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-9 #010909 4:46:40 server id # end_log_pos # GTID 0-1-9
/*!100001 SET @@session.gtid_seq_no=9*//*!*/; /*!100001 SET @@session.gtid_seq_no=9*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -381,7 +381,7 @@ CREATE DATABASE test1 ...@@ -381,7 +381,7 @@ CREATE DATABASE test1
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-4 #010909 4:46:40 server id # end_log_pos # GTID 0-1-4
/*!100001 SET @@session.gtid_seq_no=4*//*!*/; /*!100001 SET @@session.gtid_seq_no=4*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -408,7 +408,7 @@ COMMIT ...@@ -408,7 +408,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-5 #010909 4:46:40 server id # end_log_pos # GTID 0-1-5
/*!100001 SET @@session.gtid_seq_no=5*//*!*/; /*!100001 SET @@session.gtid_seq_no=5*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -421,7 +421,7 @@ COMMIT ...@@ -421,7 +421,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-6 #010909 4:46:40 server id # end_log_pos # GTID 0-1-6
/*!100001 SET @@session.gtid_seq_no=6*//*!*/; /*!100001 SET @@session.gtid_seq_no=6*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -434,7 +434,7 @@ COMMIT ...@@ -434,7 +434,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-7 #010909 4:46:40 server id # end_log_pos # GTID 0-1-7
/*!100001 SET @@session.gtid_seq_no=7*//*!*/; /*!100001 SET @@session.gtid_seq_no=7*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -465,7 +465,7 @@ COMMIT ...@@ -465,7 +465,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-8 #010909 4:46:40 server id # end_log_pos # GTID 0-1-8
/*!100001 SET @@session.gtid_seq_no=8*//*!*/; /*!100001 SET @@session.gtid_seq_no=8*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -478,7 +478,7 @@ COMMIT ...@@ -478,7 +478,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-9 #010909 4:46:40 server id # end_log_pos # GTID 0-1-9
/*!100001 SET @@session.gtid_seq_no=9*//*!*/; /*!100001 SET @@session.gtid_seq_no=9*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -552,7 +552,7 @@ CREATE DATABASE test3 ...@@ -552,7 +552,7 @@ CREATE DATABASE test3
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-4 #010909 4:46:40 server id # end_log_pos # GTID 0-1-4
/*!100001 SET @@session.gtid_seq_no=4*//*!*/; /*!100001 SET @@session.gtid_seq_no=4*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
#010909 4:46:40 server id # end_log_pos # Table_map: `test1`.`t1` mapped to number # #010909 4:46:40 server id # end_log_pos # Table_map: `test1`.`t1` mapped to number #
...@@ -576,7 +576,7 @@ COMMIT ...@@ -576,7 +576,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-5 #010909 4:46:40 server id # end_log_pos # GTID 0-1-5
/*!100001 SET @@session.gtid_seq_no=5*//*!*/; /*!100001 SET @@session.gtid_seq_no=5*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
#010909 4:46:40 server id # end_log_pos # Table_map: `test2`.`t2` mapped to number # #010909 4:46:40 server id # end_log_pos # Table_map: `test2`.`t2` mapped to number #
...@@ -600,7 +600,7 @@ COMMIT ...@@ -600,7 +600,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-6 #010909 4:46:40 server id # end_log_pos # GTID 0-1-6
/*!100001 SET @@session.gtid_seq_no=6*//*!*/; /*!100001 SET @@session.gtid_seq_no=6*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
#010909 4:46:40 server id # end_log_pos # Table_map: `test3`.`t3` mapped to number # #010909 4:46:40 server id # end_log_pos # Table_map: `test3`.`t3` mapped to number #
...@@ -624,7 +624,7 @@ COMMIT ...@@ -624,7 +624,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-7 #010909 4:46:40 server id # end_log_pos # GTID 0-1-7
/*!100001 SET @@session.gtid_seq_no=7*//*!*/; /*!100001 SET @@session.gtid_seq_no=7*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
#010909 4:46:40 server id # end_log_pos # Table_map: `test1`.`t1` mapped to number # #010909 4:46:40 server id # end_log_pos # Table_map: `test1`.`t1` mapped to number #
...@@ -661,7 +661,7 @@ COMMIT ...@@ -661,7 +661,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-8 #010909 4:46:40 server id # end_log_pos # GTID 0-1-8
/*!100001 SET @@session.gtid_seq_no=8*//*!*/; /*!100001 SET @@session.gtid_seq_no=8*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
#010909 4:46:40 server id # end_log_pos # Table_map: `test2`.`t2` mapped to number # #010909 4:46:40 server id # end_log_pos # Table_map: `test2`.`t2` mapped to number #
...@@ -685,7 +685,7 @@ COMMIT ...@@ -685,7 +685,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # GTID 0-1-9 #010909 4:46:40 server id # end_log_pos # GTID 0-1-9
/*!100001 SET @@session.gtid_seq_no=9*//*!*/; /*!100001 SET @@session.gtid_seq_no=9*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
#010909 4:46:40 server id # end_log_pos # Table_map: `test2`.`t2` mapped to number # #010909 4:46:40 server id # end_log_pos # Table_map: `test2`.`t2` mapped to number #
......
SET @@SQL_MODE = 'ORACLE';
##########################################################################
# Test verifies Gtid_log_event/Xid_log_event specific print #
##########################################################################
CREATE TABLE tm (f INT) ENGINE=MYISAM;
INSERT INTO tm VALUES (10);
CREATE TABLE t(f INT) ENGINE=INNODB;
INSERT INTO t VALUES (10);
CREATE OR REPLACE PROCEDURE simpleproc (param1 OUT INT) AS
BEGIN
SELECT COUNT(*) INTO param1 FROM t;
END;
/
CREATE FUNCTION f1 RETURN INT
AS
BEGIN
RETURN 10;
END;
/
FLUSH LOGS;
##########################################################################
# Delete data from master so that it can be restored from binlog #
##########################################################################
DROP FUNCTION f1;
DROP PROCEDURE simpleproc;
DROP TABLE tm;
DROP TABLE t;
##########################################################################
# Post recovery using mysqlbinlog #
##########################################################################
SHOW TABLES;
Tables_in_test
t
tm
SELECT * FROM tm;
f
10
SELECT * FROM t;
f
10
SELECT f1();
f1()
10
CALL simpleproc(@a);
SELECT @a;
@a
1
"***** Clean Up *****"
DROP TABLE t,tm;
DROP PROCEDURE simpleproc;
DROP FUNCTION f1;
RESET MASTER;
##########################################################################
# Test verifies Gtid_log_event/Xid_log_event/Qery_log_event #
# specific print along with flashback option #
##########################################################################
CREATE TABLE tm(f INT) ENGINE=MYISAM;
INSERT INTO tm VALUES (10);
INSERT INTO tm VALUES (20);
CREATE TABLE t(f INT) ENGINE=INNODB;
INSERT INTO t VALUES (10);
INSERT INTO t VALUES (20);
##########################################################################
# Initial data #
##########################################################################
SELECT * FROM tm;
f
10
20
SELECT * FROM t;
f
10
20
FLUSH LOGS;
DELETE FROM tm WHERE f=20;
DELETE FROM t WHERE f=20;
FLUSH LOGS;
##########################################################################
# Data after deletion #
##########################################################################
SELECT * FROM tm;
f
10
SELECT * FROM t;
f
10
FOUND 2 /START TRANSACTION/ in test.sql
##########################################################################
# Data after recovery using flashback #
##########################################################################
SELECT * FROM tm;
f
10
20
SELECT * FROM t;
f
10
20
"***** Clean Up *****"
DROP TABLE t,tm;
# ==== Purpose ====
#
# Test verifies that point in time recovery of binary log works when
# sql_mode='ORACLE'.
#
# BEGIN statement is printed in three places
# 1) "Gtid_log_event::print"
# 2) "Xid_log_event::print" if flashback is enabled
# 3) "Query_log_event::print" if flashback is enabled and engine is
# non-transacional.
#
# Test verifies all these cases.
#
# ==== References ====
#
# MDEV-23108: Point in time recovery of binary log fails when sql_mode=ORACLE
#
--source include/have_log_bin.inc
--source include/have_innodb.inc
let $MYSQLD_DATADIR= `select @@datadir`;
SET @@SQL_MODE = 'ORACLE';
--echo ##########################################################################
--echo # Test verifies Gtid_log_event/Xid_log_event specific print #
--echo ##########################################################################
CREATE TABLE tm (f INT) ENGINE=MYISAM;
INSERT INTO tm VALUES (10);
CREATE TABLE t(f INT) ENGINE=INNODB;
INSERT INTO t VALUES (10);
DELIMITER /;
CREATE OR REPLACE PROCEDURE simpleproc (param1 OUT INT) AS
BEGIN
SELECT COUNT(*) INTO param1 FROM t;
END;
/
CREATE FUNCTION f1 RETURN INT
AS
BEGIN
RETURN 10;
END;
/
DELIMITER ;/
FLUSH LOGS;
--echo ##########################################################################
--echo # Delete data from master so that it can be restored from binlog #
--echo ##########################################################################
DROP FUNCTION f1;
DROP PROCEDURE simpleproc;
DROP TABLE tm;
DROP TABLE t;
--exec $MYSQL_BINLOG $MYSQLD_DATADIR/master-bin.000001 > $MYSQLTEST_VARDIR/tmp/test.sql
--exec $MYSQL < $MYSQLTEST_VARDIR/tmp/test.sql
--echo ##########################################################################
--echo # Post recovery using mysqlbinlog #
--echo ##########################################################################
SHOW TABLES;
SELECT * FROM tm;
SELECT * FROM t;
--horizontal_results
SELECT f1();
CALL simpleproc(@a);
SELECT @a;
--echo "***** Clean Up *****"
DROP TABLE t,tm;
DROP PROCEDURE simpleproc;
DROP FUNCTION f1;
--remove_file $MYSQLTEST_VARDIR/tmp/test.sql
RESET MASTER;
--echo ##########################################################################
--echo # Test verifies Gtid_log_event/Xid_log_event/Qery_log_event #
--echo # specific print along with flashback option #
--echo ##########################################################################
CREATE TABLE tm(f INT) ENGINE=MYISAM;
INSERT INTO tm VALUES (10);
INSERT INTO tm VALUES (20);
CREATE TABLE t(f INT) ENGINE=INNODB;
INSERT INTO t VALUES (10);
INSERT INTO t VALUES (20);
--echo ##########################################################################
--echo # Initial data #
--echo ##########################################################################
SELECT * FROM tm;
SELECT * FROM t;
FLUSH LOGS;
DELETE FROM tm WHERE f=20;
DELETE FROM t WHERE f=20;
FLUSH LOGS;
--echo ##########################################################################
--echo # Data after deletion #
--echo ##########################################################################
SELECT * FROM tm;
SELECT * FROM t;
--exec $MYSQL_BINLOG --flashback $MYSQLD_DATADIR/master-bin.000002 > $MYSQLTEST_VARDIR/tmp/test.sql
--let SEARCH_FILE=$MYSQLTEST_VARDIR/tmp/test.sql
--let SEARCH_PATTERN=START TRANSACTION
--source include/search_pattern_in_file.inc
--exec $MYSQL < $MYSQLTEST_VARDIR/tmp/test.sql
--echo ##########################################################################
--echo # Data after recovery using flashback #
--echo ##########################################################################
SELECT * FROM tm;
SELECT * FROM t;
--echo "***** Clean Up *****"
DROP TABLE t,tm;
--remove_file $MYSQLTEST_VARDIR/tmp/test.sql
...@@ -230,7 +230,7 @@ ALTER TABLE t1 ENGINE=BLACKHOLE ...@@ -230,7 +230,7 @@ ALTER TABLE t1 ENGINE=BLACKHOLE
#010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-3 trans #010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-3 trans
/*!100001 SET @@session.server_id=1*//*!*/; /*!100001 SET @@session.server_id=1*//*!*/;
/*!100001 SET @@session.gtid_seq_no=3*//*!*/; /*!100001 SET @@session.gtid_seq_no=3*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -248,7 +248,7 @@ COMMIT ...@@ -248,7 +248,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-4 trans #010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-4 trans
/*!100001 SET @@session.gtid_seq_no=4*//*!*/; /*!100001 SET @@session.gtid_seq_no=4*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -266,7 +266,7 @@ COMMIT ...@@ -266,7 +266,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-5 trans #010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-5 trans
/*!100001 SET @@session.gtid_seq_no=5*//*!*/; /*!100001 SET @@session.gtid_seq_no=5*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -284,7 +284,7 @@ COMMIT ...@@ -284,7 +284,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-6 trans #010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-6 trans
/*!100001 SET @@session.gtid_seq_no=6*//*!*/; /*!100001 SET @@session.gtid_seq_no=6*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -302,7 +302,7 @@ COMMIT ...@@ -302,7 +302,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-7 trans #010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-7 trans
/*!100001 SET @@session.gtid_seq_no=7*//*!*/; /*!100001 SET @@session.gtid_seq_no=7*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -328,7 +328,7 @@ ALTER TABLE t1 ADD PRIMARY KEY pk_t1 (a,b) ...@@ -328,7 +328,7 @@ ALTER TABLE t1 ADD PRIMARY KEY pk_t1 (a,b)
# at # # at #
#010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-9 trans #010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-9 trans
/*!100001 SET @@session.gtid_seq_no=9*//*!*/; /*!100001 SET @@session.gtid_seq_no=9*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -346,7 +346,7 @@ COMMIT ...@@ -346,7 +346,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-10 trans #010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-10 trans
/*!100001 SET @@session.gtid_seq_no=10*//*!*/; /*!100001 SET @@session.gtid_seq_no=10*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -364,7 +364,7 @@ COMMIT ...@@ -364,7 +364,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-11 trans #010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-11 trans
/*!100001 SET @@session.gtid_seq_no=11*//*!*/; /*!100001 SET @@session.gtid_seq_no=11*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -390,7 +390,7 @@ ALTER TABLE t1 DROP PRIMARY KEY, ADD KEY key_t1 (a) ...@@ -390,7 +390,7 @@ ALTER TABLE t1 DROP PRIMARY KEY, ADD KEY key_t1 (a)
# at # # at #
#010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-13 trans #010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-13 trans
/*!100001 SET @@session.gtid_seq_no=13*//*!*/; /*!100001 SET @@session.gtid_seq_no=13*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -408,7 +408,7 @@ COMMIT ...@@ -408,7 +408,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-14 trans #010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-14 trans
/*!100001 SET @@session.gtid_seq_no=14*//*!*/; /*!100001 SET @@session.gtid_seq_no=14*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
...@@ -426,7 +426,7 @@ COMMIT ...@@ -426,7 +426,7 @@ COMMIT
# at # # at #
#010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-15 trans #010909 4:46:40 server id # end_log_pos # CRC32 XXX GTID 0-1-15 trans
/*!100001 SET @@session.gtid_seq_no=15*//*!*/; /*!100001 SET @@session.gtid_seq_no=15*//*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
# at # # at #
# at # # at #
......
...@@ -46,7 +46,7 @@ SET @@session.lc_time_names=0/*!*/; ...@@ -46,7 +46,7 @@ SET @@session.lc_time_names=0/*!*/;
SET @@session.collation_database=DEFAULT/*!*/; SET @@session.collation_database=DEFAULT/*!*/;
create table t1 (a timestamp(4) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, b varchar(100), c datetime(2)) create table t1 (a timestamp(4) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, b varchar(100), c datetime(2))
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1293832861.123456/*!*/; SET TIMESTAMP=1293832861.123456/*!*/;
SET @@session.time_zone='+03:00'/*!*/; SET @@session.time_zone='+03:00'/*!*/;
...@@ -55,7 +55,7 @@ insert t1 (b,c) values (now(6), now(6)) ...@@ -55,7 +55,7 @@ insert t1 (b,c) values (now(6), now(6))
SET TIMESTAMP=1293832861.123456/*!*/; SET TIMESTAMP=1293832861.123456/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1293832861/*!*/; SET TIMESTAMP=1293832861/*!*/;
insert t1 values ('2010-10-10 10:10:10.101010','2010-10-10 10:10:10.101010','2010-10-10 10:10:10.101010') insert t1 values ('2010-10-10 10:10:10.101010','2010-10-10 10:10:10.101010','2010-10-10 10:10:10.101010')
...@@ -63,7 +63,7 @@ insert t1 values ('2010-10-10 10:10:10.101010','2010-10-10 10:10:10.101010','201 ...@@ -63,7 +63,7 @@ insert t1 values ('2010-10-10 10:10:10.101010','2010-10-10 10:10:10.101010','201
SET TIMESTAMP=1293832861/*!*/; SET TIMESTAMP=1293832861/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1643756522.654321/*!*/; SET TIMESTAMP=1643756522.654321/*!*/;
insert t1 (b,c) values (now(), now()) insert t1 (b,c) values (now(), now())
...@@ -71,7 +71,7 @@ insert t1 (b,c) values (now(), now()) ...@@ -71,7 +71,7 @@ insert t1 (b,c) values (now(), now())
SET TIMESTAMP=1643756522.654321/*!*/; SET TIMESTAMP=1643756522.654321/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1643756522.654321/*!*/; SET TIMESTAMP=1643756522.654321/*!*/;
insert t1 (b,c) values (0,0) insert t1 (b,c) values (0,0)
...@@ -79,7 +79,7 @@ insert t1 (b,c) values (0,0) ...@@ -79,7 +79,7 @@ insert t1 (b,c) values (0,0)
SET TIMESTAMP=1643756522.654321/*!*/; SET TIMESTAMP=1643756522.654321/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1643756522.654321/*!*/; SET TIMESTAMP=1643756522.654321/*!*/;
insert t1 (a,b,c) values (0,0,now(6)) insert t1 (a,b,c) values (0,0,now(6))
......
...@@ -189,7 +189,7 @@ SET @@session.collation_database=DEFAULT/*!*/; ...@@ -189,7 +189,7 @@ SET @@session.collation_database=DEFAULT/*!*/;
CREATE TABLE `t``1` (`a``1` VARCHAR(4) PRIMARY KEY, `b``2` VARCHAR(3), CREATE TABLE `t``1` (`a``1` VARCHAR(4) PRIMARY KEY, `b``2` VARCHAR(3),
`c``3` VARCHAR(7)) `c``3` VARCHAR(7))
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
LOAD DATA LOCAL INFILE '<name>' INTO TABLE `t``1` FIELDS TERMINATED BY ',' ENCLOSED BY '\'' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`a``1`, @`b```) SET `b``2`= @`b```, `c``3`= concat('|', "b""a'z", "!") LOAD DATA LOCAL INFILE '<name>' INTO TABLE `t``1` FIELDS TERMINATED BY ',' ENCLOSED BY '\'' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`a``1`, @`b```) SET `b``2`= @`b```, `c``3`= concat('|', "b""a'z", "!")
...@@ -200,7 +200,7 @@ COMMIT ...@@ -200,7 +200,7 @@ COMMIT
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
truncate `t``1` truncate `t``1`
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
use `test`/*!*/; use `test`/*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
...@@ -288,7 +288,7 @@ SET @@session.lc_time_names=0/*!*/; ...@@ -288,7 +288,7 @@ SET @@session.lc_time_names=0/*!*/;
SET @@session.collation_database=DEFAULT/*!*/; SET @@session.collation_database=DEFAULT/*!*/;
CREATE TABLE t1 (a1 BIGINT PRIMARY KEY, a2 BIGINT, a3 BIGINT, a4 BIGINT UNSIGNED, b DOUBLE, c DECIMAL(65,10), d VARCHAR(100)) CREATE TABLE t1 (a1 BIGINT PRIMARY KEY, a2 BIGINT, a3 BIGINT, a4 BIGINT UNSIGNED, b DOUBLE, c DECIMAL(65,10), d VARCHAR(100))
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
INSERT INTO t1 VALUES (-9223372036854775808,42,9223372036854775807,18446744073709551615,-1234560123456789e110, -1234501234567890123456789012345678901234567890123456789.0123456789, REPEAT("x", 100)) INSERT INTO t1 VALUES (-9223372036854775808,42,9223372036854775807,18446744073709551615,-1234560123456789e110, -1234501234567890123456789012345678901234567890123456789.0123456789, REPEAT("x", 100))
...@@ -296,7 +296,7 @@ INSERT INTO t1 VALUES (-9223372036854775808,42,9223372036854775807,1844674407370 ...@@ -296,7 +296,7 @@ INSERT INTO t1 VALUES (-9223372036854775808,42,9223372036854775807,1844674407370
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET @`a``1`:=-9223372036854775808/*!*/; SET @`a``1`:=-9223372036854775808/*!*/;
SET @`a``2`:=42/*!*/; SET @`a``2`:=42/*!*/;
...@@ -383,7 +383,7 @@ master-bin.000002 # Query 1 # COMMIT ...@@ -383,7 +383,7 @@ master-bin.000002 # Query 1 # COMMIT
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/; /*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
DELIMITER /*!*/; DELIMITER /*!*/;
ROLLBACK/*!*/; ROLLBACK/*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
use `ts``et`/*!*/; use `ts``et`/*!*/;
SET TIMESTAMP=1000000000/*!*/; SET TIMESTAMP=1000000000/*!*/;
......
...@@ -810,7 +810,7 @@ insert into t1 values (b); ...@@ -810,7 +810,7 @@ insert into t1 values (b);
insert into t1 values (unix_timestamp()); insert into t1 values (unix_timestamp());
end end
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
insert into t1 values ( NAME_CONST('b',8)) insert into t1 values ( NAME_CONST('b',8))
...@@ -818,7 +818,7 @@ insert into t1 values ( NAME_CONST('b',8)) ...@@ -818,7 +818,7 @@ insert into t1 values ( NAME_CONST('b',8))
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
insert into t1 values (unix_timestamp()) insert into t1 values (unix_timestamp())
...@@ -826,7 +826,7 @@ insert into t1 values (unix_timestamp()) ...@@ -826,7 +826,7 @@ insert into t1 values (unix_timestamp())
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
delete from t1 delete from t1
...@@ -872,7 +872,7 @@ insert into t2 values(3); ...@@ -872,7 +872,7 @@ insert into t2 values(3);
insert into t1 values (5); insert into t1 values (5);
end end
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
insert into t2 values(3) insert into t2 values(3)
...@@ -880,7 +880,7 @@ insert into t2 values(3) ...@@ -880,7 +880,7 @@ insert into t2 values(3)
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
insert into t1 values (15) insert into t1 values (15)
...@@ -888,7 +888,7 @@ insert into t1 values (15) ...@@ -888,7 +888,7 @@ insert into t1 values (15)
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
insert into t2 values(3) insert into t2 values(3)
...@@ -899,7 +899,7 @@ COMMIT ...@@ -899,7 +899,7 @@ COMMIT
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
alter procedure foo4 sql security invoker alter procedure foo4 sql security invoker
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
insert into t2 values(3) insert into t2 values(3)
...@@ -907,7 +907,7 @@ insert into t2 values(3) ...@@ -907,7 +907,7 @@ insert into t2 values(3)
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
insert into t1 values (5) insert into t1 values (5)
...@@ -915,7 +915,7 @@ insert into t1 values (5) ...@@ -915,7 +915,7 @@ insert into t1 values (5)
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
delete from t2 delete from t2
...@@ -936,7 +936,7 @@ begin ...@@ -936,7 +936,7 @@ begin
insert into t2 values(20),(20); insert into t2 values(20),(20);
end end
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
insert into t2 values(20),(20) insert into t2 values(20),(20)
...@@ -964,7 +964,7 @@ insert into t1 values (x); ...@@ -964,7 +964,7 @@ insert into t1 values (x);
return x+2; return x+2;
end end
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
delete t1,t2 from t1,t2 delete t1,t2 from t1,t2
...@@ -972,7 +972,7 @@ delete t1,t2 from t1,t2 ...@@ -972,7 +972,7 @@ delete t1,t2 from t1,t2
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
SELECT `mysqltest1`.`fn1`(20) SELECT `mysqltest1`.`fn1`(20)
...@@ -980,7 +980,7 @@ SELECT `mysqltest1`.`fn1`(20) ...@@ -980,7 +980,7 @@ SELECT `mysqltest1`.`fn1`(20)
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
insert into t2 values(fn1(21)) insert into t2 values(fn1(21))
...@@ -998,7 +998,7 @@ begin ...@@ -998,7 +998,7 @@ begin
return unix_timestamp(); return unix_timestamp();
end end
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
delete from t1 delete from t1
...@@ -1006,7 +1006,7 @@ delete from t1 ...@@ -1006,7 +1006,7 @@ delete from t1
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
insert into t1 values(fn1()) insert into t1 values(fn1())
...@@ -1028,7 +1028,7 @@ begin ...@@ -1028,7 +1028,7 @@ begin
return 0; return 0;
end end
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
delete from t2 delete from t2
...@@ -1049,7 +1049,7 @@ insert into t2 values(x),(x); ...@@ -1049,7 +1049,7 @@ insert into t2 values(x),(x);
return 10; return 10;
end end
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
SELECT `mysqltest1`.`fn1`(100) SELECT `mysqltest1`.`fn1`(100)
...@@ -1057,7 +1057,7 @@ SELECT `mysqltest1`.`fn1`(100) ...@@ -1057,7 +1057,7 @@ SELECT `mysqltest1`.`fn1`(100)
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
SELECT `mysqltest1`.`fn1`(20) SELECT `mysqltest1`.`fn1`(20)
...@@ -1065,7 +1065,7 @@ SELECT `mysqltest1`.`fn1`(20) ...@@ -1065,7 +1065,7 @@ SELECT `mysqltest1`.`fn1`(20)
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
delete from t1 delete from t1
...@@ -1076,7 +1076,7 @@ COMMIT ...@@ -1076,7 +1076,7 @@ COMMIT
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
CREATE DEFINER=`root`@`localhost` trigger trg before insert on t1 for each row set new.a= 10 CREATE DEFINER=`root`@`localhost` trigger trg before insert on t1 for each row set new.a= 10
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
insert into t1 values (1) insert into t1 values (1)
...@@ -1084,7 +1084,7 @@ insert into t1 values (1) ...@@ -1084,7 +1084,7 @@ insert into t1 values (1)
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
COMMIT COMMIT
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
delete from t1 delete from t1
...@@ -1095,7 +1095,7 @@ COMMIT ...@@ -1095,7 +1095,7 @@ COMMIT
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
drop trigger trg drop trigger trg
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
insert into t1 values (1) insert into t1 values (1)
...@@ -1142,7 +1142,7 @@ CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW ...@@ -1142,7 +1142,7 @@ CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
create table t1 (a int) create table t1 (a int)
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
insert into t1 (a) values (f1()) insert into t1 (a) values (f1())
...@@ -1169,7 +1169,7 @@ SET TIMESTAMP=t/*!*/; ...@@ -1169,7 +1169,7 @@ SET TIMESTAMP=t/*!*/;
CREATE DEFINER=`root`@`localhost` PROCEDURE `p1`(arg VARCHAR(10)) CREATE DEFINER=`root`@`localhost` PROCEDURE `p1`(arg VARCHAR(10))
INSERT INTO t1 VALUES(arg) INSERT INTO t1 VALUES(arg)
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
INSERT INTO t1 VALUES( NAME_CONST('arg',_latin1'test' COLLATE 'latin1_swedish_ci')) INSERT INTO t1 VALUES( NAME_CONST('arg',_latin1'test' COLLATE 'latin1_swedish_ci'))
...@@ -1223,7 +1223,7 @@ SET TIMESTAMP=t/*!*/; ...@@ -1223,7 +1223,7 @@ SET TIMESTAMP=t/*!*/;
CREATE DEFINER=`root`@`localhost` PROCEDURE `mysqltest`.`test`() CREATE DEFINER=`root`@`localhost` PROCEDURE `mysqltest`.`test`()
begin end begin end
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
insert into t values ( 1 ) insert into t values ( 1 )
...@@ -1238,7 +1238,7 @@ insert into t values (1); ...@@ -1238,7 +1238,7 @@ insert into t values (1);
return 0; return 0;
end end
/*!*/; /*!*/;
BEGIN START TRANSACTION
/*!*/; /*!*/;
use `mysqltest`/*!*/; use `mysqltest`/*!*/;
SET TIMESTAMP=t/*!*/; SET TIMESTAMP=t/*!*/;
......
...@@ -5358,8 +5358,7 @@ bool Query_log_event::print(FILE* file, PRINT_EVENT_INFO* print_event_info) ...@@ -5358,8 +5358,7 @@ bool Query_log_event::print(FILE* file, PRINT_EVENT_INFO* print_event_info)
} }
else if (strcmp("COMMIT", query) == 0) else if (strcmp("COMMIT", query) == 0)
{ {
if (my_b_write(&cache, (uchar*) "BEGIN", 5) || if (my_b_printf(&cache, "START TRANSACTION\n%s\n", print_event_info->delimiter))
my_b_printf(&cache, "\n%s\n", print_event_info->delimiter))
goto err; goto err;
} }
} }
...@@ -8254,7 +8253,8 @@ Gtid_log_event::print(FILE *file, PRINT_EVENT_INFO *print_event_info) ...@@ -8254,7 +8253,8 @@ Gtid_log_event::print(FILE *file, PRINT_EVENT_INFO *print_event_info)
goto err; goto err;
} }
if (!(flags2 & FL_STANDALONE)) if (!(flags2 & FL_STANDALONE))
if (my_b_printf(&cache, is_flashback ? "COMMIT\n%s\n" : "BEGIN\n%s\n", print_event_info->delimiter)) if (my_b_printf(&cache, is_flashback ? "COMMIT\n%s\n" :
"START TRANSACTION\n%s\n", print_event_info->delimiter))
goto err; goto err;
return cache.flush_data(); return cache.flush_data();
...@@ -8937,7 +8937,7 @@ bool Xid_log_event::print(FILE* file, PRINT_EVENT_INFO* print_event_info) ...@@ -8937,7 +8937,7 @@ bool Xid_log_event::print(FILE* file, PRINT_EVENT_INFO* print_event_info)
my_b_printf(&cache, "\tXid = %s\n", buf)) my_b_printf(&cache, "\tXid = %s\n", buf))
goto err; goto err;
} }
if (my_b_printf(&cache, is_flashback ? "BEGIN%s\n" : "COMMIT%s\n", if (my_b_printf(&cache, is_flashback ? "START TRANSACTION%s\n" : "COMMIT%s\n",
print_event_info->delimiter)) print_event_info->delimiter))
goto err; goto err;
......
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