summaryrefslogtreecommitdiff
path: root/mysql-test/t/3.23/rpl000004.test
diff options
context:
space:
mode:
authorsasha@mysql.sashanet.com <>2000-11-17 23:35:40 -0700
committersasha@mysql.sashanet.com <>2000-11-17 23:35:40 -0700
commit24a7aae0f452f75cdfb09ccf1cec37d38d0f82a9 (patch)
treeccc45fd7f4b333edac1dbea98d87b49f1a6635a5 /mysql-test/t/3.23/rpl000004.test
parentf046a11591b8d2e3230ec1ea9eac1773d359d29e (diff)
downloadmariadb-git-24a7aae0f452f75cdfb09ccf1cec37d38d0f82a9.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
Diffstat (limited to 'mysql-test/t/3.23/rpl000004.test')
-rw-r--r--mysql-test/t/3.23/rpl000004.test18
1 files changed, 18 insertions, 0 deletions
diff --git a/mysql-test/t/3.23/rpl000004.test b/mysql-test/t/3.23/rpl000004.test
new file mode 100644
index 00000000000..795bb0e32a2
--- /dev/null
+++ b/mysql-test/t/3.23/rpl000004.test
@@ -0,0 +1,18 @@
+source t/include/master-slave.inc;
+connection master;
+use test;
+set SQL_LOG_BIN=0;
+drop table if exists words;
+create table words (word char(20) not null, index(word));
+load data infile '../../std_data/words' into table words;
+drop table if exists words1;
+create table words1 (word char(20) not null);
+load data infile '../../std_data/words' into table words1;
+connection slave;
+use test;
+drop table if exists words;
+load table words from master;
+drop table if exists words1;
+load table words1 from master;
+@r/3.23/rpl000004.a.result check table words;
+@r/3.23/rpl000004.b.result select count(*) from words1;