mirror of
https://github.com/MariaDB/server.git
synced 2025-12-06 05:42:06 +03:00
MDEV-4451 Attempt to write-lock a SEQUENCE table with log-bin enabled causes ER_BINLOG_ROW_ENGINE
mark the SEQUENCE engine as both SBR and RBR capable :)
This commit is contained in:
@@ -269,3 +269,7 @@ master-bin.000001 # Query # # use test; insert t1 select * from seq_1_to_10
|
||||
master-bin.000001 # Xid # # COMMIT /* XID */
|
||||
drop table t1;
|
||||
drop table seq_1_to_1;
|
||||
set binlog_format=statement;
|
||||
lock table seq_1_to_2 write;
|
||||
set binlog_format=row;
|
||||
lock table seq_1_to_2 write;
|
||||
|
||||
@@ -95,3 +95,12 @@ drop table t1;
|
||||
# MDEV-4449 SEQUENCE depends on TEST_SQL_DISCOVERY for discovering tables upon DDL
|
||||
#
|
||||
drop table seq_1_to_1;
|
||||
|
||||
#
|
||||
# MDEV-4451 Attempt to write-lock a SEQUENCE table with log-bin enabled causes ER_BINLOG_ROW_ENGINE_AND_STMT_ENGINE
|
||||
#
|
||||
set binlog_format=statement;
|
||||
lock table seq_1_to_2 write;
|
||||
set binlog_format=row;
|
||||
lock table seq_1_to_2 write;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user