List:Commits« Previous MessageNext Message »
From:msvensson Date:February 16 2006 11:10am
Subject:bk commit into 5.1 tree (msvensson:1.2102)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of msvensson. When msvensson 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.2102 06/02/16 12:10:40 msvensson@neptunus.(none) +1 -0
  Merge neptunus.(none):/home/msvensson/mysql/bug2845/my50-bug2845
  into  neptunus.(none):/home/msvensson/mysql/bug2845/my51-bug2845

  mysql-test/t/wait_timeout.test
    1.3 06/02/16 12:10:34 msvensson@neptunus.(none) +0 -0
    Auto merged

# 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:	msvensson
# Host:	neptunus.(none)
# Root:	/home/msvensson/mysql/bug2845/my51-bug2845/RESYNC

--- 1.2/mysql-test/t/wait_timeout.test	2006-01-04 11:18:54 +01:00
+++ 1.3/mysql-test/t/wait_timeout.test	2006-02-16 12:10:34 +01:00
@@ -6,9 +6,25 @@
 #
 --disable_reconnect
 select 1;
-# wait_timeout is 2, so we should get disconnected now
---sleep 5
+# wait_timeout is 1, so we should get disconnected now
+--sleep 2
+# When the connection is closed in this way, the error code should
+# be consistent see bug#2845 for an explanation
 --error 2006
 select 2;
 --enable_reconnect
 select 3;
+
+# Do the same test as above on a TCP connection
+connect (con1,127.0.0.1,root,,test,$MASTER_MYPORT,);
+--disable_reconnect
+select 1;
+# wait_timeout is 1, so we should get disconnected now
+--sleep 2
+# When the connection is closed in this way, the error code should
+# be consistent see bug#2845 for an explanation
+--error 2006
+select 2;
+--enable_reconnect
+select 3;
+disconnect con1;
Thread
bk commit into 5.1 tree (msvensson:1.2102)msvensson16 Feb