mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
WorkLog#1323
Deprecate the use of TYPE=... Preferred syntax is ENGINE=
This commit is contained in:
parent
28113396ec
commit
fcf96dbb18
@@ -14,7 +14,7 @@ select IF(0,"ERROR","this"),IF(1,"is","ERROR"),IF(NULL,"ERROR","a"),IF(1,2,3)|0,
|
||||
#
|
||||
# Test of IF and case-sensitiveness
|
||||
#
|
||||
CREATE TABLE t1 (st varchar(255) NOT NULL, u int(11) NOT NULL) TYPE=MyISAM;
|
||||
CREATE TABLE t1 (st varchar(255) NOT NULL, u int(11) NOT NULL) ENGINE=MyISAM;
|
||||
INSERT INTO t1 VALUES ('a',1),('A',1),('aa',1),('AA',1),('a',1),('aaa',0),('BBB',0);
|
||||
select if(1,st,st) s from t1 order by s;
|
||||
select if(u=1,st,st) s from t1 order by s;
|
||||
|
||||
Reference in New Issue
Block a user