1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Tests: dependency on wsrep removed from sql_sequence tests

Affected tests:
sql_sequence.gtid sql_sequence.replication
This commit is contained in:
Aleksey Midenkov
2017-11-14 13:16:31 +03:00
parent f9b8c908a0
commit ad69c4b722
4 changed files with 12 additions and 15 deletions

View File

@ -600,10 +600,9 @@ set binlog_format=statement
------------------------------------------ ------------------------------------------
connection master; connection master;
set session binlog_format=statement; set session binlog_format=statement;
show session variables like '%binlog_format%'; select @@session.binlog_format;
Variable_name Value @@session.binlog_format
binlog_format STATEMENT STATEMENT
wsrep_forced_binlog_format NONE
create sequence s1 cache 2; create sequence s1 cache 2;
select next value for s1; select next value for s1;
ERROR HY000: Cannot execute statement: impossible to write to binary log since BINLOG_FORMAT = STATEMENT and at least one table uses a storage engine limited to row-based logging. ERROR HY000: Cannot execute statement: impossible to write to binary log since BINLOG_FORMAT = STATEMENT and at least one table uses a storage engine limited to row-based logging.

View File

@ -503,7 +503,7 @@ drop sequence s1;
--echo ------------------------------------------ --echo ------------------------------------------
connection master; connection master;
set session binlog_format=statement; set session binlog_format=statement;
show session variables like '%binlog_format%'; select @@session.binlog_format;
create sequence s1 cache 2; create sequence s1 cache 2;
--error ER_BINLOG_STMT_MODE_AND_ROW_ENGINE --error ER_BINLOG_STMT_MODE_AND_ROW_ENGINE
select next value for s1; select next value for s1;

View File

@ -696,10 +696,9 @@ set binlog_format=statement
------------------------------------------ ------------------------------------------
connection master; connection master;
set session binlog_format=statement; set session binlog_format=statement;
show session variables like '%binlog_format%'; select @@session.binlog_format;
Variable_name Value @@session.binlog_format
binlog_format STATEMENT STATEMENT
wsrep_forced_binlog_format NONE
create sequence s1 cache 2; create sequence s1 cache 2;
select next value for s1; select next value for s1;
ERROR HY000: Cannot execute statement: impossible to write to binary log since BINLOG_FORMAT = STATEMENT and at least one table uses a storage engine limited to row-based logging. ERROR HY000: Cannot execute statement: impossible to write to binary log since BINLOG_FORMAT = STATEMENT and at least one table uses a storage engine limited to row-based logging.
@ -719,10 +718,9 @@ set binlog_format=mixed
------------------------------------------ ------------------------------------------
connection master; connection master;
set session binlog_format=mixed; set session binlog_format=mixed;
show session variables like '%binlog_format%'; select @@session.binlog_format;
Variable_name Value @@session.binlog_format
binlog_format MIXED MIXED
wsrep_forced_binlog_format NONE
create sequence s1 cache 2; create sequence s1 cache 2;
select next value for s1; select next value for s1;
next value for s1 next value for s1

View File

@ -582,7 +582,7 @@ drop sequence s1;
--echo ------------------------------------------ --echo ------------------------------------------
connection master; connection master;
set session binlog_format=statement; set session binlog_format=statement;
show session variables like '%binlog_format%'; select @@session.binlog_format;
create sequence s1 cache 2; create sequence s1 cache 2;
--error ER_BINLOG_STMT_MODE_AND_ROW_ENGINE --error ER_BINLOG_STMT_MODE_AND_ROW_ENGINE
select next value for s1; select next value for s1;
@ -603,7 +603,7 @@ drop sequence s1;
--echo ------------------------------------------ --echo ------------------------------------------
connection master; connection master;
set session binlog_format=mixed; set session binlog_format=mixed;
show session variables like '%binlog_format%'; select @@session.binlog_format;
create sequence s1 cache 2; create sequence s1 cache 2;
select next value for s1; select next value for s1;