mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
8da7be6302
* 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
46 lines
1.2 KiB
Text
46 lines
1.2 KiB
Text
# binlog disabled in embedded server
|
|
-- source include/not_embedded.inc
|
|
|
|
# part of sp_trans test that appeared to be sensitive to binlog format
|
|
--source include/have_innodb.inc
|
|
--source include/have_binlog_format_mixed.inc
|
|
|
|
delimiter |;
|
|
|
|
#
|
|
# Bug#13270 INSERT,UPDATE,etc that calls func with side-effect does not binlog
|
|
# Bug#23333 stored function + non-transac table + transac table =
|
|
# breaks stmt-based binlog
|
|
# Bug#27395 OPTION_STATUS_NO_TRANS_UPDATE is not preserved at the end of SF()
|
|
#
|
|
--disable_warnings
|
|
drop function if exists bug23333|
|
|
drop table if exists t1,t2|
|
|
--enable_warnings
|
|
CREATE TABLE t1 (a int NOT NULL auto_increment primary key) ENGINE=MyISAM|
|
|
CREATE TABLE t2 (a int NOT NULL auto_increment, b int, PRIMARY KEY (a)) ENGINE=InnoDB|
|
|
|
|
insert into t2 values (1,1)|
|
|
|
|
create function bug23333()
|
|
RETURNS int(11)
|
|
DETERMINISTIC
|
|
begin
|
|
insert into t1 values (null);
|
|
select count(*) from t1 into @a;
|
|
return @a;
|
|
end|
|
|
|
|
reset master|
|
|
--error ER_DUP_ENTRY
|
|
insert into t2 values (bug23333(),1)|
|
|
# with fixes for 23333 will show there is the query */|
|
|
--source include/show_binlog_events.inc
|
|
select count(*),@a from t1 /* must be 1,1 */|
|
|
|
|
delimiter ;|
|
|
|
|
# clean-up
|
|
|
|
drop table t1,t2;
|
|
drop function if exists bug23333;
|