mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
fed5e97733
Added cleanup of status variables to the end of binlog_database. Re-recorded .result file to account for cleanup statement. NOTE: binlog.binlog_innodb also has had an FLUSH STATUS; statement added to it as well, but adding this cleanup as a preventative measure.
32 lines
892 B
Text
32 lines
892 B
Text
source include/have_log_bin.inc;
|
|
source include/not_embedded.inc;
|
|
|
|
# Checking that the drop of a database does not replicate anything in
|
|
# addition to the drop of the database
|
|
|
|
reset master;
|
|
create database testing_1;
|
|
use testing_1;
|
|
create table t1 (a int);
|
|
create function sf1 (a int) returns int return a+1;
|
|
create trigger tr1 before insert on t1 for each row insert into t2 values (2*new.a);
|
|
create procedure sp1 (a int) insert into t1 values(a);
|
|
drop database testing_1;
|
|
source include/show_binlog_events.inc;
|
|
|
|
# BUG#38773: DROP DATABASE cause switch to stmt-mode when there are
|
|
# temporary tables open
|
|
|
|
use test;
|
|
reset master;
|
|
create temporary table tt1 (a int);
|
|
create table t1 (a int);
|
|
insert into t1 values (1);
|
|
disable_warnings;
|
|
drop database if exists mysqltest1;
|
|
enable_warnings;
|
|
insert into t1 values (1);
|
|
drop table tt1, t1;
|
|
source include/show_binlog_events.inc;
|
|
|
|
FLUSH STATUS;
|