mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
sql/log.cc
Added magic number to binlog
sql/log_event.cc
distinquish bogus data from truncated logs
sql/log_event.h
added magic number
added LOG_READ_TRUNC error
sql/mysqlbinlog.cc
fixed to handle magic number
added O_BINARY to my_fopen
sql/mysqld.cc
added code for replicate-rewrite-db
sql/slave.cc
replicate-rewrite-db
O_BINARY
handle magic
sql/sql_class.h
added i_string_pair class
sql/sql_repl.cc
added magic
better error messages
support-files/magic
added magic for binlog
Added test case for replication of queries with error
This commit is contained in:
10
repl-tests/test-bad-query/run.test
Executable file
10
repl-tests/test-bad-query/run.test
Executable file
@@ -0,0 +1,10 @@
|
||||
source ../include/master-slave.inc;
|
||||
connection master;
|
||||
drop table if exists x;
|
||||
create table x(n int primary key);
|
||||
!insert into x values (1),(2),(2);
|
||||
insert into x values (3);
|
||||
connection slave;
|
||||
sleep 3;
|
||||
@x.master select * from x;
|
||||
|
||||
4
repl-tests/test-bad-query/x.master
Normal file
4
repl-tests/test-bad-query/x.master
Normal file
@@ -0,0 +1,4 @@
|
||||
n
|
||||
1
|
||||
2
|
||||
3
|
||||
Reference in New Issue
Block a user