mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Merge branch '10.4' into 10.5
This commit is contained in:
@@ -70,6 +70,27 @@ ERROR HY000: Tablespace has been discarded for table `t`
|
||||
ALTER TABLE t FORCE;
|
||||
ERROR HY000: Tablespace has been discarded for table `t`
|
||||
DROP TABLE t;
|
||||
#
|
||||
# MDEV-24763 ALTER TABLE fails to rename a column in SYS_FIELDS
|
||||
#
|
||||
CREATE TABLE t1 (a INT, b TEXT, c INT, PRIMARY KEY(b(9)), INDEX(c,a))
|
||||
ENGINE=InnoDB;
|
||||
ALTER TABLE t1 CHANGE COLUMN a u INT;
|
||||
SELECT sf.* FROM information_schema.innodb_sys_fields sf
|
||||
INNER JOIN information_schema.innodb_sys_indexes si ON sf.index_id=si.index_id
|
||||
INNER JOIN information_schema.innodb_sys_tables st ON si.table_id=st.table_id
|
||||
WHERE st.name='test/t1' ORDER BY sf.index_id,sf.pos;
|
||||
INDEX_ID NAME POS
|
||||
ID b 0
|
||||
ID c 0
|
||||
ID u 1
|
||||
DROP TABLE t1;
|
||||
#
|
||||
# End of 10.2 tests
|
||||
#
|
||||
#
|
||||
# Check that innodb supports transactional=1
|
||||
#
|
||||
create table t1 (a int) transactional=1 engine=aria;
|
||||
create table t2 (a int) transactional=1 engine=innodb;
|
||||
show create table t1;
|
||||
@@ -86,6 +107,9 @@ alter table t1 engine=innodb;
|
||||
alter table t1 add column b int;
|
||||
drop table t1,t2;
|
||||
#
|
||||
# End of 10.4 tests
|
||||
#
|
||||
#
|
||||
# MDEV-21748 ASAN use-after-poison in PageBulk::insertPage()
|
||||
#
|
||||
CREATE TABLE t1 (pk TIMESTAMP PRIMARY KEY, a TIMESTAMP NULL UNIQUE)
|
||||
|
Reference in New Issue
Block a user