用于EagleEye3.0 规则集漏报和误报测试的示例项目,项目收集于github和gitee
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

45 lines
1.9 KiB

--echo # Should use myisam
--source include/force_myisam_default.inc
--source include/have_myisam.inc
# Bug#31293 - Incorrect parser errors for create/alter/drop logfile group/tablespace
#
-- error ER_ILLEGAL_HA_CREATE_OPTION
create logfile group ndb_lg1 add undofile 'ndb_undo1.dat' initial_size=32M engine=myisam;
-- error ER_ILLEGAL_HA_CREATE_OPTION
create logfile group ndb_lg1 add undofile 'ndb_undo1.dat' engine=myisam;
-- error ER_ILLEGAL_HA_CREATE_OPTION
create logfile group ndb_lg1 add undofile 'ndb_undo1.dat';
-- error ER_ILLEGAL_HA_CREATE_OPTION
create tablespace ndb_ts1 add datafile 'ndb_ts1.dat' use logfile group ndb_lg1 engine=myisam initial_size=32M;
-- error ER_ILLEGAL_HA_CREATE_OPTION
create tablespace ndb_ts1 add datafile 'ndb_ts1.dat' use logfile group ndb_lg1 engine=myisam;
-- error ER_ILLEGAL_HA_CREATE_OPTION
create tablespace ndb_ts1 add datafile 'ndb_ts1.dat' use logfile group ndb_lg1 engine=myisam;
-- error ER_ILLEGAL_HA_CREATE_OPTION
alter logfile group ndb_lg1 add undofile 'ndb_undo1.dat' wait engine=myisam;
-- error ER_ILLEGAL_HA_CREATE_OPTION
alter logfile group ndb_lg1 add undofile 'ndb_undo1.dat' engine=myisam;
-- error ER_ILLEGAL_HA_CREATE_OPTION
alter logfile group ndb_lg1 add undofile 'ndb_undo1.dat' engine=myisam;
-- error ER_TABLESPACE_MISSING_WITH_NAME
alter tablespace ndb_ts1 add datafile 'ndb_ts1.dat' initial_size=32M engine=myisam;
-- error ER_TABLESPACE_MISSING_WITH_NAME
alter tablespace ndb_ts1 add datafile 'ndb_ts1.dat' engine=myisam;
-- error ER_TABLESPACE_MISSING_WITH_NAME
alter tablespace ndb_ts1 add datafile 'ndb_ts1.dat' engine=myisam;
-- error ER_ILLEGAL_HA_CREATE_OPTION
drop logfile group ndb_lg1 engine=myisam;
-- error ER_ILLEGAL_HA_CREATE_OPTION
drop logfile group ndb_lg1 engine=myisam;
-- error ER_TABLESPACE_MISSING_WITH_NAME
drop tablespace ndb_ts1 engine=myisam;
-- error ER_TABLESPACE_MISSING_WITH_NAME
drop tablespace ndb_ts1 engine=myisam;