summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2001-07-10 20:35:42 -0600
committerunknown <sasha@mysql.sashanet.com>2001-07-10 20:35:42 -0600
commitbc059e42c3ae50e467603c17b761d05539fecfbe (patch)
tree9935b55f42587b115a3248e3180422739747ba2d /mysql-test
parent586648ccc20acd29f4d7f072416ed36f0d9b3a3e (diff)
downloadmariadb-git-bc059e42c3ae50e467603c17b761d05539fecfbe.tar.gz
mysql-test/t/rpl_sporadic_master.test
use truncate table sql/slave.cc fixed race condition on server shutdown sql/sql_repl.cc fixed uninitialized use of io_cache mysql-test/t/rpl_sporadic_master.test: use truncate table sql/slave.cc: fixed race condition on server shutdown sql/sql_repl.cc: fixed uninitialized use of io_cache
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/t/rpl_sporadic_master.test9
1 files changed, 2 insertions, 7 deletions
diff --git a/mysql-test/t/rpl_sporadic_master.test b/mysql-test/t/rpl_sporadic_master.test
index 80d99de6501..b22a95612ba 100644
--- a/mysql-test/t/rpl_sporadic_master.test
+++ b/mysql-test/t/rpl_sporadic_master.test
@@ -5,18 +5,13 @@ connection master;
drop table if exists t1;
create table t1(n int not null auto_increment primary key);
insert into t1 values (NULL),(NULL);
-delete from t1;
-set insert_id=1;
+truncate table t1;
insert into t1 values (NULL),(NULL);
-set insert_id=3;
insert into t1 values (NULL),(NULL);
flush logs;
-delete from t1;
-set insert_id=1;
+truncate table t1;
insert into t1 values (NULL),(NULL);
-set insert_id=3;
insert into t1 values (NULL),(NULL);
-set insert_id=5;
insert into t1 values (NULL),(NULL);
save_master_pos;
connection slave;