diff options
author | unknown <sasha@mysql.sashanet.com> | 2000-11-17 23:35:40 -0700 |
---|---|---|
committer | unknown <sasha@mysql.sashanet.com> | 2000-11-17 23:35:40 -0700 |
commit | 53ada89055707cc2c70001e139e5c85599875c9a (patch) | |
tree | ccc45fd7f4b333edac1dbea98d87b49f1a6635a5 /mysql-test/t/3.23/rpl000002.test | |
parent | 5abcec92c0abcc76658908791cf7f9d2fcc8004a (diff) | |
download | mariadb-git-53ada89055707cc2c70001e139e5c85599875c9a.tar.gz |
fixed bugs in delayed insert replication and when slave loses connection after Int_var but before Query
public test suite now tests replication code as well
mysql-test/mybin/mysql-test_install_db:
fixes to test replication with two daemons on one machine
mysql-test/mysql-test-run:
fixes for replication tests -- still need to test gcov, the rest works
mysql-test/t/include/master-slave.inc:
include file for replication tests
sql/slave.cc:
fixed bug for the case when the slave loses connection after it has read Int_var event but before Query
sql/sql_insert.cc:
reset error in delayed thread
slave converts delayed insert to regular
Diffstat (limited to 'mysql-test/t/3.23/rpl000002.test')
-rw-r--r-- | mysql-test/t/3.23/rpl000002.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/t/3.23/rpl000002.test b/mysql-test/t/3.23/rpl000002.test new file mode 100644 index 00000000000..b7df0e3e7ef --- /dev/null +++ b/mysql-test/t/3.23/rpl000002.test @@ -0,0 +1,11 @@ +source t/include/master-slave.inc; +connection master; +use test; +drop table if exists x; +create table x(n int auto_increment primary key); +set insert_id = 2000; +insert into x values (NULL),(NULL),(NULL); +connection slave; +use test; +sleep 1; +@r/3.23/rpl000002.result select * from x; |