| 1 |
include/have_replication_observers_example_plugin.inc |
| 2 |
SET @saved_master_info_repository = @@GLOBAL.master_info_repository; |
| 3 |
SET @saved_relay_log_info_repository = @@GLOBAL.relay_log_info_repository; |
| 4 |
include/install_replication_observers_example.inc |
| 5 |
CALL mtr.add_suppression('For the creation of replication channels the server *'); |
| 6 |
CALL mtr.add_suppression('For the creation of replication channels the connection metadata *'); |
| 7 |
CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=InnoDB; |
| 8 |
SET @original_slave_server_id= @@GLOBAL.server_id; |
| 9 |
SET @debug_saved= @@GLOBAL.DEBUG; |
| 10 |
SET @@GLOBAL.DEBUG= '+d,validate_replication_observers_plugin_server_channels_init'; |
| 11 |
SET @@GLOBAL.server_id= 0; |
| 12 |
INSERT INTO t1 VALUES(1); |
| 13 |
SET @@GLOBAL.server_id= @original_slave_server_id; |
| 14 |
SET @@GLOBAL.relay_log_info_repository='FILE'; |
| 15 |
Warnings: |
| 16 |
Warning 1287 '@@relay_log_info_repository' is deprecated and will be removed in a future release. |
| 17 |
SET @@GLOBAL.master_info_repository='TABLE'; |
| 18 |
Warnings: |
| 19 |
Warning 1287 '@@master_info_repository' is deprecated and will be removed in a future release. |
| 20 |
INSERT INTO t1 VALUES(2); |
| 21 |
SET @@GLOBAL.relay_log_info_repository='TABLE'; |
| 22 |
Warnings: |
| 23 |
Warning 1287 '@@relay_log_info_repository' is deprecated and will be removed in a future release. |
| 24 |
SET @@GLOBAL.master_info_repository='FILE'; |
| 25 |
Warnings: |
| 26 |
Warning 1287 '@@master_info_repository' is deprecated and will be removed in a future release. |
| 27 |
INSERT INTO t1 VALUES(3); |
| 28 |
SET @@GLOBAL.master_info_repository = @saved_master_info_repository; |
| 29 |
SET @@GLOBAL.relay_log_info_repository = @saved_relay_log_info_repository; |
| 30 |
SET @@GLOBAL.DEBUG= @debug_saved; |
| 31 |
DROP TABLE t1; |
| 32 |
include/uninstall_replication_observers_example.inc |