mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
Post-merge fixes
This commit is contained in:
parent
54d26e027f
commit
4e7979fe91
3 changed files with 10 additions and 9 deletions
|
@ -969,21 +969,21 @@ CREATE TABLE m1(a INT) ENGINE=MERGE;
|
|||
SHOW CREATE TABLE m1;
|
||||
Table Create Table
|
||||
m1 CREATE TABLE `m1` (
|
||||
`a` int(11) default NULL
|
||||
`a` int(11) DEFAULT NULL
|
||||
) ENGINE=MRG_MyISAM DEFAULT CHARSET=latin1
|
||||
DROP TABLE m1;
|
||||
CREATE TABLE m1(a INT) ENGINE=MERGE UNION=();
|
||||
SHOW CREATE TABLE m1;
|
||||
Table Create Table
|
||||
m1 CREATE TABLE `m1` (
|
||||
`a` int(11) default NULL
|
||||
`a` int(11) DEFAULT NULL
|
||||
) ENGINE=MRG_MyISAM DEFAULT CHARSET=latin1
|
||||
ALTER TABLE m1 UNION=(t1);
|
||||
ALTER TABLE m1 UNION=();
|
||||
SHOW CREATE TABLE m1;
|
||||
Table Create Table
|
||||
m1 CREATE TABLE `m1` (
|
||||
`a` int(11) default NULL
|
||||
`a` int(11) DEFAULT NULL
|
||||
) ENGINE=MRG_MyISAM DEFAULT CHARSET=latin1
|
||||
DROP TABLE t1, m1;
|
||||
End of 5.0 tests
|
||||
|
@ -1151,7 +1151,7 @@ SHOW CREATE TABLE t4;
|
|||
Table Create Table
|
||||
t4 CREATE TABLE `t4` (
|
||||
`c1` int(11) DEFAULT NULL
|
||||
) ENGINE=MRG_MyISAM DEFAULT CHARSET=latin1 UNION=()
|
||||
) ENGINE=MRG_MyISAM DEFAULT CHARSET=latin1
|
||||
INSERT INTO t4 VALUES (4);
|
||||
ERROR HY000: Table 't4' is read only
|
||||
DROP TABLE t4;
|
||||
|
@ -1168,7 +1168,7 @@ SHOW CREATE TABLE t4;
|
|||
Table Create Table
|
||||
t4 CREATE TABLE `t4` (
|
||||
`c1` int(11) DEFAULT NULL
|
||||
) ENGINE=MRG_MyISAM DEFAULT CHARSET=latin1 UNION=()
|
||||
) ENGINE=MRG_MyISAM DEFAULT CHARSET=latin1
|
||||
INSERT INTO t4 VALUES (4);
|
||||
ERROR HY000: Table 't4' is read only
|
||||
DROP TABLE t4;
|
||||
|
|
|
@ -93,3 +93,4 @@ c
|
|||
1,2,3
|
||||
64
|
||||
DROP TABLE t1;
|
||||
End of 5.0 tests
|
||||
|
|
|
@ -45,7 +45,7 @@ Table t2
|
|||
Create Table CREATE TABLE `t2` (
|
||||
`a` int(11) DEFAULT NULL,
|
||||
`b` int(11) DEFAULT NULL
|
||||
) ENGINE=MRG_MyISAM DEFAULT CHARSET=latin1 UNION=()
|
||||
) ENGINE=MRG_MyISAM DEFAULT CHARSET=latin1
|
||||
SHOW CREATE TABLE t3;
|
||||
Table t3
|
||||
Create Table CREATE TABLE `t3` (
|
||||
|
@ -64,7 +64,7 @@ Table t2
|
|||
Create Table CREATE TABLE `t2` (
|
||||
`a` int(11) DEFAULT NULL,
|
||||
`b` int(11) DEFAULT NULL
|
||||
) ENGINE=MRG_MyISAM DEFAULT CHARSET=latin1 UNION=()
|
||||
) ENGINE=MRG_MyISAM DEFAULT CHARSET=latin1
|
||||
SHOW CREATE TABLE t3;
|
||||
Table t3
|
||||
Create Table CREATE TABLE `t3` (
|
||||
|
@ -185,7 +185,7 @@ Table t8
|
|||
Create Table CREATE TABLE `t8` (
|
||||
`a` int(11) DEFAULT NULL,
|
||||
`b` int(11) DEFAULT NULL
|
||||
) ENGINE=MRG_MyISAM DEFAULT CHARSET=utf8 UNION=()
|
||||
) ENGINE=MRG_MyISAM DEFAULT CHARSET=utf8
|
||||
SHOW CREATE TABLE t9;
|
||||
Table t9
|
||||
Create Table CREATE TABLE `t9` (
|
||||
|
@ -205,7 +205,7 @@ Table t8
|
|||
Create Table CREATE TABLE `t8` (
|
||||
`a` int(11) DEFAULT NULL,
|
||||
`b` int(11) DEFAULT NULL
|
||||
) ENGINE=MRG_MyISAM DEFAULT CHARSET=utf8 UNION=()
|
||||
) ENGINE=MRG_MyISAM DEFAULT CHARSET=utf8
|
||||
SHOW CREATE TABLE t9;
|
||||
Table t9
|
||||
Create Table CREATE TABLE `t9` (
|
||||
|
|
Loading…
Add table
Reference in a new issue