mirror of
https://github.com/MariaDB/server.git
synced 2025-11-27 05:41:41 +03:00
Merge 10.4 into 10.5
This commit is contained in:
@@ -451,4 +451,13 @@ ALTER TABLE t ADD d INT;
|
||||
affected rows: 0
|
||||
info: Records: 0 Duplicates: 0 Warnings: 0
|
||||
DROP TABLE t;
|
||||
#
|
||||
# MDEV-28060 Online DDL fails while checking for instant
|
||||
# alter condition
|
||||
#
|
||||
CREATE TABLE t1(f1 CHAR(10) NOT NULL)ROW_FORMAT=REDUNDANT,ENGINE=InnoDB;
|
||||
ALTER TABLE t1 ADD COLUMN(f2 INT NOT NULL, f3 INT NOT NULL,
|
||||
f4 INT NOT NULL, f5 INT NOT NULL),
|
||||
CHANGE COLUMN f1 f1 CHAR(10) DEFAULT NULL;
|
||||
DROP TABLE t1;
|
||||
SET GLOBAL innodb_purge_rseg_truncate_frequency=@save_frequency;
|
||||
|
||||
@@ -28,6 +28,8 @@ connection con2;
|
||||
commit;
|
||||
disconnect con2;
|
||||
connection default;
|
||||
SET GLOBAL innodb_purge_rseg_truncate_frequency=1;
|
||||
SET GLOBAL innodb_max_purge_lag_wait=0;
|
||||
set global innodb_fast_shutdown=0;
|
||||
# restart
|
||||
drop table t1, t2;
|
||||
|
||||
Reference in New Issue
Block a user