1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Bug #38798 Assertion mysql_bin_log.is_open() failed in binlog_trans_log_savepos()

The assert is about binlogging must have been activated, but it was
not actually according to the reported how-to-repeat instuctions.
Analysis revealed that binlog_start_trans_and_stmt() was called
without prior testing if binlogging is ON.

Fixed with avoing entering binlog_start_trans_and_stmt() if binlog is
not activated.
This commit is contained in:
Andrei Elkin
2008-08-29 17:20:08 +03:00
parent a627a47282
commit 44b82b3eca
4 changed files with 39 additions and 5 deletions

View File

@ -0,0 +1,6 @@
DROP TABLE IF EXISTS t1, t2;
set @@session.binlog_format=row;
create table t1 (a int);
insert into t1 values (1);
create table t2 select * from t1;
drop table t1, t2;