summaryrefslogtreecommitdiff
path: root/mysql-test/suite/sys_vars/r/thread_concurrency_basic.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/sys_vars/r/thread_concurrency_basic.result')
-rw-r--r--mysql-test/suite/sys_vars/r/thread_concurrency_basic.result21
1 files changed, 21 insertions, 0 deletions
diff --git a/mysql-test/suite/sys_vars/r/thread_concurrency_basic.result b/mysql-test/suite/sys_vars/r/thread_concurrency_basic.result
new file mode 100644
index 00000000000..ea8c0168212
--- /dev/null
+++ b/mysql-test/suite/sys_vars/r/thread_concurrency_basic.result
@@ -0,0 +1,21 @@
+select @@global.thread_concurrency;
+@@global.thread_concurrency
+10
+select @@session.thread_concurrency;
+ERROR HY000: Variable 'thread_concurrency' is a GLOBAL variable
+show global variables like 'thread_concurrency';
+Variable_name Value
+thread_concurrency 10
+show session variables like 'thread_concurrency';
+Variable_name Value
+thread_concurrency 10
+select * from information_schema.global_variables where variable_name='thread_concurrency';
+VARIABLE_NAME VARIABLE_VALUE
+THREAD_CONCURRENCY 10
+select * from information_schema.session_variables where variable_name='thread_concurrency';
+VARIABLE_NAME VARIABLE_VALUE
+THREAD_CONCURRENCY 10
+set global thread_concurrency=1;
+ERROR HY000: Variable 'thread_concurrency' is a read only variable
+set session thread_concurrency=1;
+ERROR HY000: Variable 'thread_concurrency' is a read only variable