List:Commits« Previous MessageNext Message »
From:kroki Date:May 6 2006 4:24pm
Subject:bk commit into 4.1 tree (kroki:1.2466) BUG#16501
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of tomash. When tomash 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://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2466 06/05/06 18:24:41 kroki@stripped +2 -0
  Fix race condition in the test for bug#16501.

  mysql-test/t/func_misc.test
    1.15 06/05/06 18:24:37 kroki@stripped +3 -1
    Fix race condition in the test for bug#16501.

  mysql-test/r/func_misc.result
    1.19 06/05/06 18:24:37 kroki@stripped +2 -2
    Update the result.

# 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:	kroki
# Host:	moonlight.intranet
# Root:	/home/tomash/src/mysql_ab/mysql-4.1-bug16501

--- 1.18/mysql-test/r/func_misc.result	2006-04-24 18:06:38 +04:00
+++ 1.19/mysql-test/r/func_misc.result	2006-05-06 18:24:37 +04:00
@@ -76,12 +76,12 @@
 SELECT RELEASE_LOCK('bug16501');
 RELEASE_LOCK('bug16501')
 1
+GET_LOCK('bug16501',600)
+1
 SELECT IS_USED_LOCK('bug16501') = connection_id
 FROM t1
 WHERE conn = 'con1';
 IS_USED_LOCK('bug16501') = connection_id
-1
-GET_LOCK('bug16501',600)
 1
 SELECT IS_USED_LOCK('bug16501') = CONNECTION_ID();
 IS_USED_LOCK('bug16501') = CONNECTION_ID()

--- 1.14/mysql-test/t/func_misc.test	2006-04-24 18:06:39 +04:00
+++ 1.15/mysql-test/t/func_misc.test	2006-05-06 18:24:37 +04:00
@@ -66,12 +66,14 @@
 connection default;
 SELECT IS_USED_LOCK('bug16501') = CONNECTION_ID();
 SELECT RELEASE_LOCK('bug16501');
+connection con1;
+reap;
+connection default;
 SELECT IS_USED_LOCK('bug16501') = connection_id
 FROM t1
 WHERE conn = 'con1';
 
 connection con1;
-reap;
 SELECT IS_USED_LOCK('bug16501') = CONNECTION_ID();
 SELECT RELEASE_LOCK('bug16501');
 SELECT IS_USED_LOCK('bug16501');
Thread
bk commit into 4.1 tree (kroki:1.2466) BUG#16501kroki6 May