mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
WorkLog#1323
Deprecate the use of TYPE=... Preferred syntax is ENGINE=
This commit is contained in:
parent
28113396ec
commit
fcf96dbb18
@@ -159,7 +159,7 @@ CREATE TABLE `t1` (
|
||||
`maxnumrep` int(10) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (`numeropost`),
|
||||
KEY `maxnumrep` (`maxnumrep`)
|
||||
) TYPE=MyISAM ROW_FORMAT=FIXED;
|
||||
) ENGINE=MyISAM ROW_FORMAT=FIXED;
|
||||
INSERT INTO t1 (titre,maxnumrep) VALUES
|
||||
('test1','1'),('test2','2'),('test3','3');
|
||||
SELECT SQL_CALC_FOUND_ROWS titre,numeropost,maxnumrep FROM t1 WHERE numeropost IN (1,2) ORDER BY maxnumrep DESC LIMIT 0, 1;
|
||||
|
||||
Reference in New Issue
Block a user