mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
after-merge fix-up.
This commit is contained in:

parent
b6a808bd1f
commit
9d57de144f
@ -1287,6 +1287,21 @@ a b
|
||||
3 2
|
||||
1 1
|
||||
DROP TABLE t1;
|
||||
create table t1(a char(10) not null, unique key aa(a(1)),
|
||||
b char(4) not null, unique key bb(b(4))) engine=innodb;
|
||||
desc t1;
|
||||
Field Type Null Key Default Extra
|
||||
a char(10) NO UNI NULL
|
||||
b char(4) NO PRI NULL
|
||||
show create table t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`a` char(10) NOT NULL,
|
||||
`b` char(4) NOT NULL,
|
||||
UNIQUE KEY `bb` (`b`),
|
||||
UNIQUE KEY `aa` (`a`(1))
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1
|
||||
drop table t1;
|
||||
End of 5.0 tests
|
||||
CREATE TABLE `t2` (
|
||||
`k` int(11) NOT NULL auto_increment,
|
||||
|
Reference in New Issue
Block a user