diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2023-04-14 11:32:36 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2023-04-14 11:32:36 +0300 |
commit | 44281b88f3ce04e85ba49ba1f557f6cca328a4e7 (patch) | |
tree | 4daba52cd11f3b52e96af3e0887eee7bc7d4e034 /mysql-test/suite/binlog/t/binlog_mysqlbinlog_raw_flush.test | |
parent | 55e78ebf4136ed7bf78b45963f53e503201a59bb (diff) | |
parent | 10147af9e5b25739bada32c6eb4f204d5f2985a1 (diff) | |
download | mariadb-git-44281b88f3ce04e85ba49ba1f557f6cca328a4e7.tar.gz |
Merge 10.8 into 10.9
Diffstat (limited to 'mysql-test/suite/binlog/t/binlog_mysqlbinlog_raw_flush.test')
-rw-r--r-- | mysql-test/suite/binlog/t/binlog_mysqlbinlog_raw_flush.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/suite/binlog/t/binlog_mysqlbinlog_raw_flush.test b/mysql-test/suite/binlog/t/binlog_mysqlbinlog_raw_flush.test index f95fc0137a2..252a8577b6c 100644 --- a/mysql-test/suite/binlog/t/binlog_mysqlbinlog_raw_flush.test +++ b/mysql-test/suite/binlog/t/binlog_mysqlbinlog_raw_flush.test @@ -5,6 +5,7 @@ # respective log file specified by --result-file, and shown on-disk. This test # ensures that the log files on disk, created by mariadb-binlog, have the most # up-to-date events from the master. +# Option --raw works only with --read-from-remote-server, otherwise returns error. # # Methodology: # On the master, rotate to a newly active binlog file and write an event to @@ -20,6 +21,14 @@ --source include/linux.inc --source include/have_log_bin.inc +--echo # +--echo # MDEV-30698 Cover missing test cases for mariadb-binlog options +--echo # --raw [and] --flashback +--echo # +# Test --raw format without -R (--read-from-remote-server) +--error 1 # Error 1 operation not permitted +--exec $MYSQL_BINLOG --raw --user=root --host=127.0.0.1 --port=$MASTER_MYPORT --stop-never --result-file=$MYSQLTEST_VARDIR/tmp/ master-bin.000001 + # Create newly active log CREATE TABLE t1 (a int); FLUSH LOGS; |