Below is the list of changes that have just been committed into a local
4.0 repository of guilhem. When guilhem does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://www.mysql.com/doc/I/n/Installing_source_tree.html
ChangeSet
1.1588 03/09/29 22:56:31 guilhem@xxxxxxxxx +2 -0
fix for a random test failure on hpux/ia64
(a missing synchronization in the test)
mysql-test/t/drop_temp_table.test
1.2 03/09/29 22:56:18 guilhem@xxxxxxxxx +6 -0
synchronize to be sure that the ending connection has finished binlogging.
mysql-test/r/drop_temp_table.result
1.3 03/09/29 22:56:18 guilhem@xxxxxxxxx +7 -0
result update
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: guilhem
# Host: gbichot2
# Root: /home/mysql_src/mysql-4.0
--- 1.2/mysql-test/r/drop_temp_table.result Mon Sep 29 11:31:33 2003
+++ 1.3/mysql-test/r/drop_temp_table.result Mon Sep 29 22:56:18 2003
@@ -2,10 +2,17 @@
create database `drop-temp+table-test`;
use `drop-temp+table-test`;
create temporary table `table:name` (a int);
+select get_lock("a",10);
+get_lock("a",10)
+1
+select get_lock("a",10);
+get_lock("a",10)
+1
show binlog events;
Log_name Pos Event_type Server_id Orig_log_pos Info
master-bin.001 4 Start 1 4 Server ver: VERSION, Binlog
ver: 3
master-bin.001 79 Query 1 79 use `test`; create database
`drop-temp+table-test`
master-bin.001 152 Query 1 152 use `drop-temp+table-test`;
create temporary table `table:name` (a int)
master-bin.001 246 Query 1 246 use `drop-temp+table-test`;
DROP /*!40005 TEMPORARY */ TABLE `drop-temp+table-test`.`table:name`
+master-bin.001 365 Query 1 365 use `drop-temp+table-test`; DO
RELEASE_LOCK("a")
drop database `drop-temp+table-test`;
--- 1.1/mysql-test/t/drop_temp_table.test Sun Sep 28 18:31:44 2003
+++ 1.2/mysql-test/t/drop_temp_table.test Mon Sep 29 22:56:18 2003
@@ -5,8 +5,14 @@
create database `drop-temp+table-test`;
use `drop-temp+table-test`;
create temporary table `table:name` (a int);
+select get_lock("a",10);
disconnect con1;
+
connection con2;
+# We want to SHOW BINLOG EVENTS, to know what was logged. But there is no
+# guarantee that logging of the terminated con1 has been done yet.
+# To be sure that logging has been done, we use a user lock.
+select get_lock("a",10);
let $VERSION=`select version()`;
--replace_result $VERSION VERSION
show binlog events;
--
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe:
http://lists.mysql.com/internals?unsub=gcdmd-internals@xxxxxxxxxxx
|