mirror of
https://github.com/MariaDB/server.git
synced 2025-06-04 18:03:14 +03:00
Problem: The rpl_ndb did not set binlog_format explicitly. Since the default is binlog_format=statement, it means that the suite ran with that. ndb does not support binlog_format=statement, and many tests were skipped because they sourced include/have_binlog_format_row_or_mixed.inc Fix: set binlog_format=row explicitly in the configuration file for the rpl_ndb suite. Makefile.am: Removed duplicate run of rpl_ndb suite with binlog_format=row. Now that rpl_ndb is run with binlog_format=row by default, this run that explicitly changes to binlog_format=row is not needed, because it is covered by the following run. mysql-test/suite/rpl_ndb/my.cnf: cluster only supports binlog_format=row. mysql-test/suite/rpl_ndb/r/rpl_ndb_stm_innodb.result: updated result file mysql-test/suite/rpl_ndb/t/rpl_ndb_stm_innodb.test: This test is supposed to use binlog_format=STATEMENT on master. It uses innodb on master, so statement format is supported.
38 lines
1.0 KiB
Plaintext
38 lines
1.0 KiB
Plaintext
#############################################
|
|
#Authors: TU and Jeb
|
|
#Date: 2007/04
|
|
#Purpose: Generic replication to cluster
|
|
# and ensuring that the ndb_apply_status
|
|
# table is updated.
|
|
#############################################
|
|
# Notes:
|
|
# include/select_ndb_apply_status.inc
|
|
# Selects out the log name, start & end pos
|
|
# from the ndb_apply_status table
|
|
#
|
|
# include/show_binlog_using_logname.inc
|
|
# To select out 1 row from offset 1
|
|
# from the start position in the binlog whose
|
|
# name is = log_name
|
|
#
|
|
# include/tpcb.inc
|
|
# Creates DATABASE tpcb, the tables and
|
|
# stored procedures for loading the DB
|
|
# and for running transactions against DB.
|
|
##############################################
|
|
|
|
|
|
## Includes ##
|
|
|
|
--disable_query_log
|
|
--source include/have_ndb.inc
|
|
--source include/have_innodb.inc
|
|
--source include/ndb_master-slave.inc
|
|
--enable_query_log
|
|
|
|
# statement format is supported because master uses innodb
|
|
SET binlog_format = STATEMENT;
|
|
let $off_set = 6;
|
|
let $rpl_format = 'SBR';
|
|
--source extra/rpl_tests/rpl_ndb_apply_status.test
|