mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Bug #40360: Binlog related errors with binlog off
Adding missing drop of created table and tidying display. mysql-test/t/innodb_mysql.test: Adding drop of created table and cleaning variable display
This commit is contained in:
@ -1670,14 +1670,10 @@ id select_type table type possible_keys key key_len ref rows Extra
|
|||||||
drop table t1, t2;
|
drop table t1, t2;
|
||||||
SET SESSION BINLOG_FORMAT=STATEMENT;
|
SET SESSION BINLOG_FORMAT=STATEMENT;
|
||||||
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
|
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
|
||||||
SHOW VARIABLES LIKE 'log_bin';
|
select @@session.sql_log_bin, @@session.binlog_format, @@session.tx_isolation;
|
||||||
Variable_name Value
|
@@session.sql_log_bin 1
|
||||||
log_bin OFF
|
@@session.binlog_format STATEMENT
|
||||||
SELECT @@session.binlog_format;
|
@@session.tx_isolation READ-COMMITTED
|
||||||
@@session.binlog_format
|
|
||||||
STATEMENT
|
|
||||||
SELECT @@session.tx_isolation;
|
|
||||||
@@session.tx_isolation
|
|
||||||
READ-COMMITTED
|
|
||||||
CREATE TABLE t1 ( a INT ) ENGINE=InnoDB;
|
CREATE TABLE t1 ( a INT ) ENGINE=InnoDB;
|
||||||
INSERT INTO t1 VALUES(1);
|
INSERT INTO t1 VALUES(1);
|
||||||
|
DROP TABLE t1;
|
||||||
|
@ -38,9 +38,8 @@ drop table t1, t2;
|
|||||||
|
|
||||||
SET SESSION BINLOG_FORMAT=STATEMENT;
|
SET SESSION BINLOG_FORMAT=STATEMENT;
|
||||||
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
|
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
|
||||||
SHOW VARIABLES LIKE 'log_bin';
|
query_vertical select @@session.sql_log_bin, @@session.binlog_format, @@session.tx_isolation;
|
||||||
SELECT @@session.binlog_format;
|
|
||||||
SELECT @@session.tx_isolation;
|
|
||||||
CREATE TABLE t1 ( a INT ) ENGINE=InnoDB;
|
CREATE TABLE t1 ( a INT ) ENGINE=InnoDB;
|
||||||
INSERT INTO t1 VALUES(1);
|
INSERT INTO t1 VALUES(1);
|
||||||
|
DROP TABLE t1;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user