mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
c368f38f4d
Fix "Bug#40360 Binlog related errors with binlog off" in InnoDB code in order to have a Bug#40360-free InnoDB Plugin 1.0.2. The fix does check whether binary logging is enabled in MySQL by accessing the opt_bin_log global variable that is defined in sql/mysqld.cc. In case MySQL does develop another solution to this via Bug#40360 then we can revert this patch (except the mysql-tests). The windows-plugin part of this fix will be committed as a separate commit to ease eventual merge into branches/5.1 [note from the future: the separate commit went into r2936]. Approved by: Marko (https://svn.innodb.com/rb/r/39)
16 lines
340 B
Text
16 lines
340 B
Text
#
|
|
# Make sure http://bugs.mysql.com/40360 remains fixed.
|
|
#
|
|
|
|
-- source include/not_embedded.inc
|
|
-- source include/have_innodb.inc
|
|
|
|
SET TX_ISOLATION='READ-COMMITTED';
|
|
|
|
# This is the default since MySQL 5.1.29 SET BINLOG_FORMAT='STATEMENT';
|
|
|
|
CREATE TABLE bug40360 (a INT) engine=innodb;
|
|
|
|
INSERT INTO bug40360 VALUES (1);
|
|
|
|
DROP TABLE bug40360;
|