summaryrefslogtreecommitdiff
path: root/mysql-test/r/status.result
diff options
context:
space:
mode:
authorunknown <kroki@mysql.com>2006-04-12 17:37:57 +0400
committerunknown <kroki@mysql.com>2006-04-12 17:37:57 +0400
commit51a3d3668fdbfd25588dd92038f6d82dc7eb8306 (patch)
treed5151e758a0c76b0bf8f9faf81fcce929dca3c75 /mysql-test/r/status.result
parentcab73a600927b82470d71b96f6d01232e0cf6e87 (diff)
downloadmariadb-git-51a3d3668fdbfd25588dd92038f6d82dc7eb8306.tar.gz
In test for bug#15933 we have to wait for all disconnects to finish to avoid
a race between updating and checking Max_used_connections. This is done in a loop until either disconnect finished or timeout expired. In a latter case the test will fail. mysql-test/r/status.result: Update result to match changes in test case. mysql-test/t/status.test: Close extra conections in previous test. In test for bug#15933 we have to wait for all disconnects to finish to avoid a race between updating and checking Max_used_connections. This is done in a loop until either disconnect finished or timeout expired. In a latter case the test will fail. Use con1, con2, con3 instead of con3, con4, con5.
Diffstat (limited to 'mysql-test/r/status.result')
-rw-r--r--mysql-test/r/status.result10
1 files changed, 5 insertions, 5 deletions
diff --git a/mysql-test/r/status.result b/mysql-test/r/status.result
index 4e5489191c9..ca21b333a6a 100644
--- a/mysql-test/r/status.result
+++ b/mysql-test/r/status.result
@@ -26,20 +26,20 @@ Last_query_cost 0.000000
FLUSH STATUS;
SHOW STATUS LIKE 'max_used_connections';
Variable_name Value
-Max_used_connections 3
+Max_used_connections 1
SET @save_thread_cache_size=@@thread_cache_size;
SET GLOBAL thread_cache_size=3;
SHOW STATUS LIKE 'max_used_connections';
Variable_name Value
-Max_used_connections 5
+Max_used_connections 3
FLUSH STATUS;
SHOW STATUS LIKE 'max_used_connections';
Variable_name Value
-Max_used_connections 4
+Max_used_connections 2
SHOW STATUS LIKE 'max_used_connections';
Variable_name Value
-Max_used_connections 5
+Max_used_connections 3
SHOW STATUS LIKE 'max_used_connections';
Variable_name Value
-Max_used_connections 6
+Max_used_connections 4
SET GLOBAL thread_cache_size=@save_thread_cache_size;