mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
a3b9557b3a
example files) The system variable 'thread_concurrency' has been (re-)enabled on all platforms, to prevent startup errors. 'thread_concurrency' is unused and has no effect, on any platform, in MySQL 5.1 and later versions. It will be deprecated, and removed, in context of worklog WL#5265 mysql-test/include/have_thread_concurrency.inc: include/have_thread_concurrency.inc was only needed to support platforms that didn't have the thread_concurrency variable available. Since the variable is now available on all platforms, the file is removed.
18 lines
588 B
Text
18 lines
588 B
Text
#
|
|
# only global
|
|
#
|
|
select @@global.thread_concurrency;
|
|
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
|
|
select @@session.thread_concurrency;
|
|
show global variables like 'thread_concurrency';
|
|
show session variables like 'thread_concurrency';
|
|
select * from information_schema.global_variables where variable_name='thread_concurrency';
|
|
select * from information_schema.session_variables where variable_name='thread_concurrency';
|
|
|
|
#
|
|
# show that it's read-only
|
|
#
|
|
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
|
|
set global thread_concurrency=1;
|
|
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
|
|
set session thread_concurrency=1;
|