mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
generalization of mtr to support suite.pm extensions:
* no automatic --loose-skip-innodb added by mtr based on the test name. instead loose-skip-innodb is now in the default_mysqld.cnf * have_innodb_plugin.inc is changed to give a verbose "skip" message (instead of "require: true") * My::Suite class. It's support in mtr, and everywhere * support for suite.pm * when sorting tests, take combinations into account * support for SUITENAME_COMBINATIONS * no special treatment for innodb_plugin in mtr_cases.pm * two special pre-created config groups: ENV and OPT * allow option names to start from # * allow magic option to have an argument * remove dead code * fix @-substitution to works as expected * new processes take the value of $opt_verbose automatically, no need to pass it to a constructor * innodb_plugin suite uses suite.pm and combinations file to test as much as possible (innodb plugin, xtradb plugin, xtradb static - whatever available) * besides test-master.opt and test-slave.opt a test.opt file is also loaded, both for master and slave * .opt files for all included files are loaded too * progress report in the xterm titlebar
This commit is contained in:
@ -1,15 +1,14 @@
|
||||
create table t1 (id int) engine=NDB;
|
||||
create table t1 (id int) engine=InnoDB;
|
||||
Warnings:
|
||||
Warning 1286 Unknown table engine 'NDB'
|
||||
Warning 1286 Unknown table engine 'InnoDB'
|
||||
Warning 1266 Using storage engine MyISAM for table 't1'
|
||||
alter table t1 engine=NDB;
|
||||
alter table t1 engine=InnoDB;
|
||||
Warnings:
|
||||
Warning 1286 Unknown table engine 'NDB'
|
||||
Warning 1286 Unknown table engine 'InnoDB'
|
||||
drop table t1;
|
||||
SELECT ENGINE, SUPPORT FROM INFORMATION_SCHEMA.ENGINES WHERE ENGINE='ndbcluster';
|
||||
SELECT ENGINE, SUPPORT FROM INFORMATION_SCHEMA.ENGINES WHERE ENGINE='InnoDB';
|
||||
ENGINE SUPPORT
|
||||
ndbcluster NO
|
||||
SELECT PLUGIN_NAME, PLUGIN_STATUS FROM INFORMATION_SCHEMA.PLUGINS WHERE
|
||||
PLUGIN_NAME='ndbcluster';
|
||||
InnoDB NO
|
||||
SELECT PLUGIN_NAME, PLUGIN_STATUS FROM INFORMATION_SCHEMA.PLUGINS WHERE PLUGIN_NAME='InnoDB';
|
||||
PLUGIN_NAME PLUGIN_STATUS
|
||||
ndbcluster DISABLED
|
||||
InnoDB DISABLED
|
||||
|
Reference in New Issue
Block a user