mirror of
https://github.com/MariaDB/server.git
synced 2025-11-27 05:41:41 +03:00
- Galera tests that was not updated with connection change messages - Test where out of memory error was changed (We are now using the standard out of memory error in most places) - Removed tokudb tests that uses include files that doesn't exist in MariaDB - Removed not supported mariadb startup option from option file
40 lines
763 B
Plaintext
40 lines
763 B
Plaintext
include/master-slave.inc
|
|
[connection master]
|
|
#
|
|
# MDEV-6409 CREATE VIEW replication problem if error occurs in mysql_register_view
|
|
#
|
|
# Check the bug where if an error occurs in mysql_register_view the view
|
|
# is still replicated to the slave
|
|
#
|
|
connection master;
|
|
create table t1 (a int);
|
|
insert into t1 values (1);
|
|
create view v1 as select a from t1;
|
|
insert into v1 values (2);
|
|
select * from v1 order by a;
|
|
a
|
|
1
|
|
2
|
|
connection slave;
|
|
show tables;
|
|
Tables_in_test
|
|
t1
|
|
v1
|
|
connection master;
|
|
set @@debug_dbug="d,simulate_register_view_failure";
|
|
CREATE VIEW v2 as SELECT * FROM t1;
|
|
ERROR HY000: Out of memory.
|
|
show tables;
|
|
Tables_in_test
|
|
t1
|
|
v1
|
|
connection slave;
|
|
show tables;
|
|
Tables_in_test
|
|
t1
|
|
v1
|
|
connection master;
|
|
DROP VIEW IF EXISTS v1;
|
|
DROP TABLE t1;
|
|
include/rpl_end.inc
|