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
@ -94,7 +94,7 @@ KEY k2 (type),
|
||||
KEY k3 (parent),
|
||||
KEY k4 (assignment),
|
||||
KEY ticket (ticket)
|
||||
) TYPE=MyISAM;
|
||||
) ENGINE=MyISAM;
|
||||
INSERT INTO t1 VALUES (773,773,'','','',980257344,20010318180652,0,'Open',10,0,0,0,1,'','','','','');
|
||||
alter table t1 change lfdnr lfdnr int(10) unsigned not null auto_increment;
|
||||
update t1 set status=1 where type='Open';
|
||||
@ -146,7 +146,7 @@ CREATE TABLE t1 (
|
||||
`nom_option` char(40) NOT NULL default '',
|
||||
`valid` tinyint(1) NOT NULL default '0',
|
||||
KEY `id_param` (`id_param`,`nom_option`)
|
||||
) TYPE=MyISAM;
|
||||
) ENGINE=MyISAM;
|
||||
INSERT INTO t1 (id_param,nom_option,valid) VALUES (185,'600x1200',1);
|
||||
UPDATE t1 SET nom_option='test' WHERE id_param=185 AND nom_option='600x1200' AND valid=1 LIMIT 1;
|
||||
select * from t1;
|
||||
|
Reference in New Issue
Block a user