2011-01-13 13:28:36 +01:00
|
|
|
SET TIMESTAMP=1000000000;
|
|
|
|
CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=innodb;
|
|
|
|
CREATE DATABASE test2;
|
|
|
|
RESET MASTER;
|
|
|
|
USE test2;
|
|
|
|
BEGIN;
|
|
|
|
USE test;
|
|
|
|
INSERT INTO t1 VALUES (1);
|
|
|
|
USE test2;
|
|
|
|
COMMIT;
|
|
|
|
BEGIN;
|
|
|
|
USE test;
|
|
|
|
INSERT INTO t1 VALUES (2);
|
|
|
|
USE test2;
|
|
|
|
COMMIT;
|
|
|
|
USE test;
|
|
|
|
SELECT * FROM t1 ORDER BY a;
|
|
|
|
a
|
|
|
|
1
|
|
|
|
2
|
|
|
|
FLUSH LOGS;
|
2013-02-28 18:42:49 +01:00
|
|
|
/*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=1*/;
|
2011-01-13 13:28:36 +01:00
|
|
|
/*!40019 SET @@session.max_insert_delayed_threads=0*/;
|
|
|
|
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
|
|
|
|
DELIMITER /*!*/;
|
|
|
|
ROLLBACK/*!*/;
|
2020-07-20 14:27:39 +02:00
|
|
|
START TRANSACTION
|
2013-03-26 10:35:34 +01:00
|
|
|
/*!*/;
|
|
|
|
use `test`/*!*/;
|
2011-01-13 13:28:36 +01:00
|
|
|
SET TIMESTAMP=1000000000/*!*/;
|
|
|
|
SET @@session.pseudo_thread_id=999999999/*!*/;
|
2019-12-30 12:56:19 +01:00
|
|
|
SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=0, @@session.unique_checks=1, @@session.autocommit=1, @@session.check_constraint_checks=1, @@session.sql_if_exists=0/*!*/;
|
2019-08-30 15:06:54 +02:00
|
|
|
SET @@session.sql_mode=#/*!*/;
|
2011-01-13 13:28:36 +01:00
|
|
|
SET @@session.auto_increment_increment=1, @@session.auto_increment_offset=1/*!*/;
|
|
|
|
/*!\C latin1 *//*!*/;
|
2019-08-30 15:06:54 +02:00
|
|
|
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=#/*!*/;
|
2011-01-13 13:28:36 +01:00
|
|
|
SET @@session.lc_time_names=0/*!*/;
|
|
|
|
SET @@session.collation_database=DEFAULT/*!*/;
|
|
|
|
INSERT INTO t1 VALUES (1)
|
|
|
|
/*!*/;
|
|
|
|
COMMIT/*!*/;
|
2020-07-20 14:27:39 +02:00
|
|
|
START TRANSACTION
|
2011-01-13 13:28:36 +01:00
|
|
|
/*!*/;
|
|
|
|
SET TIMESTAMP=1000000000/*!*/;
|
|
|
|
INSERT INTO t1 VALUES (2)
|
|
|
|
/*!*/;
|
|
|
|
COMMIT/*!*/;
|
|
|
|
DELIMITER ;
|
|
|
|
# End of log file
|
|
|
|
ROLLBACK /* added by mysqlbinlog */;
|
|
|
|
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
|
2013-02-28 18:42:49 +01:00
|
|
|
/*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=0*/;
|
|
|
|
/*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=1*/;
|
2011-01-13 13:28:36 +01:00
|
|
|
/*!40019 SET @@session.max_insert_delayed_threads=0*/;
|
|
|
|
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
|
|
|
|
DELIMITER /*!*/;
|
|
|
|
ROLLBACK/*!*/;
|
2020-07-20 14:27:39 +02:00
|
|
|
START TRANSACTION
|
2013-03-26 10:35:34 +01:00
|
|
|
/*!*/;
|
|
|
|
use `foo`/*!*/;
|
2011-01-13 13:28:36 +01:00
|
|
|
SET TIMESTAMP=1000000000/*!*/;
|
|
|
|
SET @@session.pseudo_thread_id=999999999/*!*/;
|
2019-12-30 12:56:19 +01:00
|
|
|
SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=0, @@session.unique_checks=1, @@session.autocommit=1, @@session.check_constraint_checks=1, @@session.sql_if_exists=0/*!*/;
|
2019-08-30 15:06:54 +02:00
|
|
|
SET @@session.sql_mode=#/*!*/;
|
2011-01-13 13:28:36 +01:00
|
|
|
SET @@session.auto_increment_increment=1, @@session.auto_increment_offset=1/*!*/;
|
|
|
|
/*!\C latin1 *//*!*/;
|
2019-08-30 15:06:54 +02:00
|
|
|
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=#/*!*/;
|
2011-01-13 13:28:36 +01:00
|
|
|
SET @@session.lc_time_names=0/*!*/;
|
|
|
|
SET @@session.collation_database=DEFAULT/*!*/;
|
|
|
|
INSERT INTO t1 VALUES (1)
|
|
|
|
/*!*/;
|
|
|
|
COMMIT/*!*/;
|
2020-07-20 14:27:39 +02:00
|
|
|
START TRANSACTION
|
2011-01-13 13:28:36 +01:00
|
|
|
/*!*/;
|
|
|
|
SET TIMESTAMP=1000000000/*!*/;
|
|
|
|
INSERT INTO t1 VALUES (2)
|
|
|
|
/*!*/;
|
|
|
|
COMMIT/*!*/;
|
|
|
|
DELIMITER ;
|
|
|
|
# End of log file
|
|
|
|
ROLLBACK /* added by mysqlbinlog */;
|
|
|
|
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
|
2013-02-28 18:42:49 +01:00
|
|
|
/*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=0*/;
|
2011-01-13 13:28:36 +01:00
|
|
|
DROP DATABASE test2;
|
|
|
|
DROP TABLE t1;
|