mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Merge branch '10.8' into 10.9
This commit is contained in:
@@ -12,6 +12,44 @@ connection master;
|
||||
drop table t1;
|
||||
set binlog_row_image= @old_row_image;
|
||||
#
|
||||
# MDEV-28254 Wrong position for row_start, row_end after adding column
|
||||
# to implicit versioned table
|
||||
#
|
||||
set @@system_versioning_alter_history= keep;
|
||||
set @@session.time_zone='+00:00';
|
||||
create table t1 (x int) with system versioning engine innodb;
|
||||
alter table t1 add column y int, algorithm=inplace;
|
||||
check table t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 check status OK
|
||||
connection slave;
|
||||
drop table t1;
|
||||
show create table t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`x` int(11) DEFAULT NULL,
|
||||
`y` int(11) DEFAULT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1 WITH SYSTEM VERSIONING
|
||||
connection master;
|
||||
set timestamp= 12345;
|
||||
insert t1 values (1, 1);
|
||||
select *, unix_timestamp(row_start) as row_start, unix_timestamp(row_end) as row_end from t1;
|
||||
x y row_start row_end
|
||||
1 1 12345.000000 2147483647.999999
|
||||
set timestamp= default;
|
||||
### INSERT INTO `test`.`t1`
|
||||
### SET
|
||||
### @1=1
|
||||
### @2=1
|
||||
### @3=12345.000000
|
||||
### @4=2147483647.999999
|
||||
connection slave;
|
||||
select * from t1;
|
||||
x y
|
||||
1 1
|
||||
connection master;
|
||||
drop table t1;
|
||||
#
|
||||
# MDEV-25347 DML events for auto-partitioned tables are written into binary log twice
|
||||
#
|
||||
flush binary logs;
|
||||
|
Reference in New Issue
Block a user