Loading mysql-test/r/warnings.result +7 −0 Original line number Diff line number Diff line Loading @@ -171,6 +171,13 @@ alter table t1 engine=isam; Warnings: Warning 1266 Using storage engine MyISAM for table 't1' drop table t1; create table t1 (id int) engine=merge; Warnings: Warning 1266 Using storage engine MyISAM for table 't1' alter table t1 engine=merge; Warnings: Warning 1266 Using storage engine MyISAM for table 't1' drop table t1; create table t1 (id int) type=heap; Warnings: Warning 1287 'TYPE=storage_engine' is deprecated; use 'ENGINE=storage_engine' instead Loading mysql-test/t/warnings-master.opt +1 −1 Original line number Diff line number Diff line --skip-isam --skip-isam --skip-merge mysql-test/t/warnings.test +4 −0 Original line number Diff line number Diff line Loading @@ -118,6 +118,10 @@ create table t1 (id int) engine=isam; alter table t1 engine=isam; drop table t1; create table t1 (id int) engine=merge; alter table t1 engine=merge; drop table t1; # # Test for deprecated TYPE= syntax # Loading sql/handler.cc +2 −2 Original line number Diff line number Diff line Loading @@ -73,9 +73,9 @@ struct show_table_type_st sys_table_types[]= "Alias for MEMORY", DB_TYPE_HEAP}, {"MEMORY", &have_yes, "Hash based, stored in memory, useful for temporary tables", DB_TYPE_HEAP}, {"MERGE", &have_yes, {"MERGE", &have_merge_db, "Collection of identical MyISAM tables", DB_TYPE_MRG_MYISAM}, {"MRG_MYISAM",&have_yes, {"MRG_MYISAM",&have_merge_db, "Alias for MERGE", DB_TYPE_MRG_MYISAM}, {"ISAM", &have_isam, "Obsolete storage engine, now replaced by MyISAM", DB_TYPE_ISAM}, Loading sql/mysql_priv.h +1 −1 Original line number Diff line number Diff line Loading @@ -1021,7 +1021,7 @@ extern SHOW_COMP_OPTION have_query_cache, have_berkeley_db, have_innodb; extern SHOW_COMP_OPTION have_geometry, have_rtree_keys; extern SHOW_COMP_OPTION have_crypt; extern SHOW_COMP_OPTION have_compress; extern SHOW_COMP_OPTION have_blackhole_db; extern SHOW_COMP_OPTION have_blackhole_db, have_merge_db; #ifndef __WIN__ extern pthread_t signal_thread; Loading Loading
mysql-test/r/warnings.result +7 −0 Original line number Diff line number Diff line Loading @@ -171,6 +171,13 @@ alter table t1 engine=isam; Warnings: Warning 1266 Using storage engine MyISAM for table 't1' drop table t1; create table t1 (id int) engine=merge; Warnings: Warning 1266 Using storage engine MyISAM for table 't1' alter table t1 engine=merge; Warnings: Warning 1266 Using storage engine MyISAM for table 't1' drop table t1; create table t1 (id int) type=heap; Warnings: Warning 1287 'TYPE=storage_engine' is deprecated; use 'ENGINE=storage_engine' instead Loading
mysql-test/t/warnings-master.opt +1 −1 Original line number Diff line number Diff line --skip-isam --skip-isam --skip-merge
mysql-test/t/warnings.test +4 −0 Original line number Diff line number Diff line Loading @@ -118,6 +118,10 @@ create table t1 (id int) engine=isam; alter table t1 engine=isam; drop table t1; create table t1 (id int) engine=merge; alter table t1 engine=merge; drop table t1; # # Test for deprecated TYPE= syntax # Loading
sql/handler.cc +2 −2 Original line number Diff line number Diff line Loading @@ -73,9 +73,9 @@ struct show_table_type_st sys_table_types[]= "Alias for MEMORY", DB_TYPE_HEAP}, {"MEMORY", &have_yes, "Hash based, stored in memory, useful for temporary tables", DB_TYPE_HEAP}, {"MERGE", &have_yes, {"MERGE", &have_merge_db, "Collection of identical MyISAM tables", DB_TYPE_MRG_MYISAM}, {"MRG_MYISAM",&have_yes, {"MRG_MYISAM",&have_merge_db, "Alias for MERGE", DB_TYPE_MRG_MYISAM}, {"ISAM", &have_isam, "Obsolete storage engine, now replaced by MyISAM", DB_TYPE_ISAM}, Loading
sql/mysql_priv.h +1 −1 Original line number Diff line number Diff line Loading @@ -1021,7 +1021,7 @@ extern SHOW_COMP_OPTION have_query_cache, have_berkeley_db, have_innodb; extern SHOW_COMP_OPTION have_geometry, have_rtree_keys; extern SHOW_COMP_OPTION have_crypt; extern SHOW_COMP_OPTION have_compress; extern SHOW_COMP_OPTION have_blackhole_db; extern SHOW_COMP_OPTION have_blackhole_db, have_merge_db; #ifndef __WIN__ extern pthread_t signal_thread; Loading