mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 02:30:06 +01:00
dc22acfdb6
Executing CHECK TABLE with streaming replication enabled reports error "Streaming replication not supported with binlog_format=STATEMENT". Administrative commands such as CHECK TABLE, are not replicated and temporarily set binlog format to statement. To avoid the problem, report the error only for active transactions for which streaming replication is enabled.
18 lines
304 B
Text
18 lines
304 B
Text
#
|
|
# MDEV-22616
|
|
#
|
|
# CHECK TABLE fails with wsrep_trx_fragment_size > 0
|
|
#
|
|
|
|
--source include/galera_cluster.inc
|
|
|
|
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
|
|
SET SESSION wsrep_trx_fragment_size = 1;
|
|
CHECK TABLE t1;
|
|
|
|
START TRANSACTION;
|
|
INSERT INTO t1 VALUES (1);
|
|
|
|
CHECK TABLE t1;
|
|
|
|
DROP TABLE t1;
|