mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
WorkLog#1323
Deprecate the use of TYPE=... Preferred syntax is ENGINE=
This commit is contained in:

parent
28113396ec
commit
fcf96dbb18
@ -7,14 +7,14 @@ PRIMARY KEY (id),
|
||||
KEY kt(tag),
|
||||
KEY kv(value(15)),
|
||||
FULLTEXT KEY kvf(value)
|
||||
) TYPE=MyISAM;
|
||||
) ENGINE=MyISAM;
|
||||
CREATE TABLE t2 (
|
||||
id_t2 mediumint unsigned NOT NULL default '0',
|
||||
id_t1 mediumint unsigned NOT NULL default '0',
|
||||
field_number tinyint unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (id_t2,id_t1,field_number),
|
||||
KEY id_t1(id_t1)
|
||||
) TYPE=MyISAM;
|
||||
) ENGINE=MyISAM;
|
||||
INSERT INTO t1 (tag,value) VALUES ('foo123','bar111');
|
||||
INSERT INTO t1 (tag,value) VALUES ('foo123','bar222');
|
||||
INSERT INTO t1 (tag,value) VALUES ('bar345','baz333 ar');
|
||||
|
Reference in New Issue
Block a user