  insert t1 values (5);
 diff -ruN base/mysql-test/t/rpl_semi_sync-master.opt mysql50gpl_semi_sync/mysql-test/t/rpl_semi_sync-master.opt
 --- base/mysql-test/t/rpl_semi_sync-master.opt	1969-12-31 16:00:00.000000000 -0800
-+++ mysql50gpl_semi_sync/mysql-test/t/rpl_semi_sync-master.opt	2007-04-27 20:14:12.531874000 -0700
++++ mysql50gpl_semi_sync/mysql-test/t/rpl_semi_sync-master.opt	2007-04-27 20:14:12.000000000 -0700
 @@ -0,0 +1 @@
 +--rpl_semi_sync_enabled=1 --rpl_semi_sync_timeout=1000
 diff -ruN base/mysql-test/t/rpl_semi_sync-slave.opt mysql50gpl_semi_sync/mysql-test/t/rpl_semi_sync-slave.opt
 --- base/mysql-test/t/rpl_semi_sync-slave.opt	1969-12-31 16:00:00.000000000 -0800
-+++ mysql50gpl_semi_sync/mysql-test/t/rpl_semi_sync-slave.opt	2007-04-27 20:14:12.532875000 -0700
++++ mysql50gpl_semi_sync/mysql-test/t/rpl_semi_sync-slave.opt	2007-04-27 20:14:12.000000000 -0700
 @@ -0,0 +1 @@
 +--rpl_semi_sync_slave_enabled=1
 diff -ruN base/mysql-test/t/rpl_semi_sync.test mysql50gpl_semi_sync/mysql-test/t/rpl_semi_sync.test
 --- base/mysql-test/t/rpl_semi_sync.test	1969-12-31 16:00:00.000000000 -0800
-+++ mysql50gpl_semi_sync/mysql-test/t/rpl_semi_sync.test	2007-04-30 21:37:41.652986000 -0700
++++ mysql50gpl_semi_sync/mysql-test/t/rpl_semi_sync.test	2007-04-30 21:37:41.000000000 -0700
 @@ -0,0 +1,118 @@
 +-- source include/have_innodb.inc
 +source include/master-slave.inc;

+drop table t2,t3,t5;
diff -ruN base/mysql-test/rpl_transaction_test/r/rpl_create_database.result mysql50gpl_semi_sync/mysql-test/rpl_transaction_test/r/rpl_create_database.result
--- base/mysql-test/rpl_transaction_test/r/rpl_create_database.result	1969-12-31 16:00:00.000000000 -0800
+++ mysql50gpl_semi_sync/mysql-test/rpl_transaction_test/r/rpl_create_database.result	2007-04-27 20:14:07.206024000 -0700
@@ -0,0 +1,87 @@
+stop slave;
+drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;

+static void repl_cleanup(ushort flags) {
+  if (flags & BINLOG_SEMI_SYNC) {
+    /* One less semi-sync client. */
+    thread_safe_sub(rpl_semi_sync_clients, 1, &LOCK_status);
+  }
+}
 
