Skip to content

Commit

Permalink
MDEV-30421 more tests cleaned up
Browse files Browse the repository at this point in the history
All the .inc files that included from binlog_encryption are refactored.
  • Loading branch information
midenok committed Mar 23, 2023
1 parent bdf5580 commit 91e5e47
Show file tree
Hide file tree
Showing 76 changed files with 4,709 additions and 4,710 deletions.
2 changes: 1 addition & 1 deletion mysql-test/suite/binlog_encryption/rpl_binlog_errors.test
@@ -1,2 +1,2 @@
--let $binlog_limit= 5,1
--source suite/rpl/include/rpl_binlog_errors.inc
--source suite/rpl/t/rpl_binlog_errors.test
@@ -1 +1 @@
--source suite/rpl/include/rpl_cant_read_event_incident.inc
--source suite/rpl/t/rpl_cant_read_event_incident.test
2 changes: 1 addition & 1 deletion mysql-test/suite/binlog_encryption/rpl_checksum.test
@@ -1 +1 @@
--source suite/rpl/include/rpl_checksum.inc
--source suite/rpl/t/rpl_checksum.test
2 changes: 1 addition & 1 deletion mysql-test/suite/binlog_encryption/rpl_checksum_cache.test
@@ -1 +1 @@
--source suite/rpl/include/rpl_checksum_cache.inc
--source suite/rpl/t/rpl_checksum_cache.test
2 changes: 1 addition & 1 deletion mysql-test/suite/binlog_encryption/rpl_corruption.test
@@ -1 +1 @@
--source suite/rpl/include/rpl_corruption.inc
--source suite/rpl/t/rpl_corruption.test
24 changes: 24 additions & 0 deletions mysql-test/suite/binlog_encryption/rpl_gtid_basic.result
Expand Up @@ -558,3 +558,27 @@ a
connection server_1;
DROP TABLE t1;
include/rpl_end.inc
#
# Start of 10.2 tests
#
#
# MDEV-10134 Add full support for DEFAULT
#
CREATE TABLE t1 (a VARCHAR(100) DEFAULT BINLOG_GTID_POS("master-bin.000001", 600));
ERROR HY000: Function or expression 'binlog_gtid_pos()' cannot be used in the DEFAULT clause of `a`
#
# End of 10.2 tests
#
#
# Start of 10.3 tests
#
#
# MDEV-13967 Parameter data type control for Item_long_func
#
SELECT MASTER_GTID_WAIT(ROW(1,1),'str');
ERROR HY000: Illegal parameter data type row for operation 'master_gtid_wait'
SELECT MASTER_GTID_WAIT('str',ROW(1,1));
ERROR HY000: Illegal parameter data type row for operation 'master_gtid_wait'
#
# End of 10.3 tests
#
2 changes: 1 addition & 1 deletion mysql-test/suite/binlog_encryption/rpl_gtid_basic.test
@@ -1 +1 @@
--source suite/rpl/include/rpl_gtid_basic.inc
--source suite/rpl/t/rpl_gtid_basic.test
2 changes: 1 addition & 1 deletion mysql-test/suite/binlog_encryption/rpl_incident.test
@@ -1 +1 @@
--source suite/rpl/include/rpl_incident.inc
--source suite/rpl/t/rpl_incident.test
@@ -1 +1 @@
--source suite/rpl/include/rpl_init_slave_errors.inc
--source suite/rpl/t/rpl_init_slave_errors.test
2 changes: 1 addition & 1 deletion mysql-test/suite/binlog_encryption/rpl_loaddata_local.test
@@ -1 +1 @@
--source suite/rpl/include/rpl_loaddata_local.inc
--source suite/rpl/t/rpl_loaddata_local.test
2 changes: 1 addition & 1 deletion mysql-test/suite/binlog_encryption/rpl_loadfile.test
@@ -1,4 +1,4 @@
--source suite/rpl/include/rpl_loadfile.inc
--source suite/rpl/t/rpl_loadfile.test

--let $datadir= `SELECT @@datadir`

Expand Down
2 changes: 1 addition & 1 deletion mysql-test/suite/binlog_encryption/rpl_packet.test
@@ -1 +1 @@
--source suite/rpl/include/rpl_packet.inc
--source suite/rpl/t/rpl_packet.test
@@ -1 +1 @@
--source suite/rpl/include/rpl_parallel_ignored_errors.inc
--source suite/rpl/t/rpl_parallel_ignored_errors.test
@@ -1 +1 @@
--source suite/rpl/include/rpl_parallel_show_binlog_events_purge_logs.inc
--source suite/rpl/t/rpl_parallel_show_binlog_events_purge_logs.test
2 changes: 1 addition & 1 deletion mysql-test/suite/binlog_encryption/rpl_relayrotate.test
@@ -1 +1 @@
--source suite/rpl/include/rpl_relayrotate.inc
--source suite/rpl/t/rpl_relayrotate.test
2 changes: 1 addition & 1 deletion mysql-test/suite/binlog_encryption/rpl_semi_sync.test
@@ -1 +1 @@
--source suite/rpl/include/rpl_semi_sync.inc
--source suite/rpl/t/rpl_semi_sync.test
@@ -1,2 +1,2 @@
--let $use_remote_mysqlbinlog= 1
--source suite/rpl/include/rpl_skip_replication.inc
--source suite/rpl/t/rpl_skip_replication.test
@@ -1 +1 @@
--source suite/rpl/include/rpl_special_charset.inc
--source suite/rpl/t/rpl_special_charset.test
@@ -1 +1 @@
--source suite/rpl/include/rpl_sporadic_master.inc
--source suite/rpl/t/rpl_sporadic_master.test
2 changes: 1 addition & 1 deletion mysql-test/suite/binlog_encryption/rpl_ssl.test
@@ -1 +1 @@
--source suite/rpl/include/rpl_ssl.inc
--source suite/rpl/t/rpl_ssl.test
@@ -1 +1 @@
--source suite/rpl/include/rpl_stm_relay_ign_space.inc
--source suite/rpl/t/rpl_stm_relay_ign_space.test
@@ -1 +1 @@
--source suite/rpl/include/rpl_switch_stm_row_mixed.inc
--source suite/rpl/t/rpl_switch_stm_row_mixed.test
2 changes: 1 addition & 1 deletion mysql-test/suite/binlog_encryption/rpl_sync.test
@@ -1 +1 @@
--source suite/rpl/include/rpl_sync_test.inc
--source suite/rpl/t/rpl_sync.test
@@ -1 +1 @@
--source suite/rpl/include/rpl_temporal_format_default_to_default.inc
--source suite/rpl/t/rpl_temporal_format_default_to_default.test
Expand Up @@ -3,4 +3,4 @@
--let $force_master_mysql56_temporal_format=false;
--let $force_slave_mysql56_temporal_format=true;

--source suite/rpl/include/rpl_temporal_format_default_to_default.inc
--source suite/rpl/t/rpl_temporal_format_default_to_default.test
@@ -1,4 +1,4 @@
--let $force_master_mysql56_temporal_format=true;
--let $force_slave_mysql56_temporal_format=false;

--source suite/rpl/include/rpl_temporal_format_default_to_default.inc
--source suite/rpl/t/rpl_temporal_format_default_to_default.test
2 changes: 1 addition & 1 deletion mysql-test/suite/binlog_encryption/rpl_typeconv.test
@@ -1 +1 @@
--source suite/rpl/include/rpl_typeconv.inc
--source suite/rpl/t/rpl_typeconv.test
@@ -1 +1 @@
--source suite/rpl/include/rpl_switch_stm_row_mixed.inc
--source suite/rpl/t/rpl_switch_stm_row_mixed.test

0 comments on commit 91e5e47

Please sign in to comment.