summaryrefslogtreecommitdiff
path: root/mysql-test/suite/sys_vars/r/max_connections_basic.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/sys_vars/r/max_connections_basic.result')
-rw-r--r--mysql-test/suite/sys_vars/r/max_connections_basic.result21
1 files changed, 9 insertions, 12 deletions
diff --git a/mysql-test/suite/sys_vars/r/max_connections_basic.result b/mysql-test/suite/sys_vars/r/max_connections_basic.result
index b4d23427e41..048fb99b3f5 100644
--- a/mysql-test/suite/sys_vars/r/max_connections_basic.result
+++ b/mysql-test/suite/sys_vars/r/max_connections_basic.result
@@ -1,17 +1,17 @@
SET @start_value = @@global.max_connections;
-SELECT @start_value;
-@start_value
-151
+SELECT @start_value > 0;
+@start_value > 0
+1
'#--------------------FN_DYNVARS_074_01------------------------#'
-SET @@global.max_connections = 5000;
+SET @@global.max_connections = @start_value+1;
SET @@global.max_connections = DEFAULT;
-SELECT @@global.max_connections;
-@@global.max_connections
-151
+SELECT @@global.max_connections <> @start_value+1;
+@@global.max_connections <> @start_value+1
+1
'#---------------------FN_DYNVARS_074_02-------------------------#'
SET @@global.max_connections = @start_value;
-SELECT @@global.max_connections = 151;
-@@global.max_connections = 151
+SELECT @@global.max_connections = @start_value;
+@@global.max_connections = @start_value
1
'#--------------------FN_DYNVARS_074_03------------------------#'
SET @@global.max_connections = 100000;
@@ -131,6 +131,3 @@ ERROR 42S02: Unknown table 'global' in field list
SELECT max_connections = @@session.max_connections;
ERROR 42S22: Unknown column 'max_connections' in 'field list'
SET @@global.max_connections = @start_value;
-SELECT @@global.max_connections;
-@@global.max_connections
-151