mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
This patch backports test coverage for:
Bug #22909 Using CREATE ... LIKE is possible to create field with invalid default value Bug #35935 CREATE TABLE under LOCK TABLES ignores FLUSH TABLES WITH READ LOCK Bug #37371 CREATE TABLE LIKE merge loses UNION parameter These bugs were originally fixed in the 6.1-fk tree and the fixes were backported as part of the fix for Bug #42546 "Backup: RESTORE fails, thinking it finds an existing table". This patch backports test coverage missing in the original backport. The patch contains no code changes.
This commit is contained in:
@@ -2187,5 +2187,20 @@ UNLOCK TABLES;
|
||||
DROP TABLE m1, t1;
|
||||
|
||||
|
||||
--echo #
|
||||
--echo # Test for bug #37371 "CREATE TABLE LIKE merge loses UNION parameter"
|
||||
--echo #
|
||||
--disable_warnings
|
||||
drop tables if exists t1, m1, m2;
|
||||
--enable_warnings
|
||||
create table t1 (i int) engine=myisam;
|
||||
create table m1 (i int) engine=mrg_myisam union=(t1) insert_method=first;
|
||||
create table m2 like m1;
|
||||
--echo # Table definitions should match
|
||||
show create table m1;
|
||||
show create table m2;
|
||||
drop tables m1, m2, t1;
|
||||
|
||||
|
||||
--echo End of 6.0 tests
|
||||
|
||||
|
||||
Reference in New Issue
Block a user