| 1 |
--source include/have_log_bin.inc |
| 2 |
|
| 3 |
--echo # |
| 4 |
--echo # MDEV-29741 SHOW BINLOG EVENTS shows garbage with system_versioning_insert_history=on |
| 5 |
--echo # MDEV-29732 mysqlbinlog produces syntactically incorrect output with system_versioning_insert_history |
| 6 |
--echo # |
| 7 |
reset master; |
| 8 |
set timestamp=1000000000; |
| 9 |
create table t (a int) with system versioning; |
| 10 |
set system_versioning_insert_history= on; |
| 11 |
insert into t (a) values (1); |
| 12 |
set system_versioning_insert_history= off; |
| 13 |
drop table t; |
| 14 |
source include/show_binlog_events.inc; |
| 15 |
flush binary logs; |
| 16 |
--let $datadir=`select @@datadir` |
| 17 |
--exec $MYSQL_BINLOG -s $datadir/master-bin.000001 |
| 18 |
set timestamp=default; |