mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
don't show the value of open_files_limit
This commit is contained in:
@ -1,20 +1,20 @@
|
|||||||
select @@global.open_files_limit;
|
select @@global.open_files_limit;
|
||||||
@@global.open_files_limit
|
@@global.open_files_limit
|
||||||
1024
|
#
|
||||||
select @@session.open_files_limit;
|
select @@session.open_files_limit;
|
||||||
ERROR HY000: Variable 'open_files_limit' is a GLOBAL variable
|
ERROR HY000: Variable 'open_files_limit' is a GLOBAL variable
|
||||||
show global variables like 'open_files_limit';
|
show global variables like 'open_files_limit';
|
||||||
Variable_name Value
|
Variable_name Value
|
||||||
open_files_limit 1024
|
open_files_limit #
|
||||||
show session variables like 'open_files_limit';
|
show session variables like 'open_files_limit';
|
||||||
Variable_name Value
|
Variable_name Value
|
||||||
open_files_limit 1024
|
open_files_limit #
|
||||||
select * from information_schema.global_variables where variable_name='open_files_limit';
|
select * from information_schema.global_variables where variable_name='open_files_limit';
|
||||||
VARIABLE_NAME VARIABLE_VALUE
|
VARIABLE_NAME VARIABLE_VALUE
|
||||||
OPEN_FILES_LIMIT 1024
|
OPEN_FILES_LIMIT #
|
||||||
select * from information_schema.session_variables where variable_name='open_files_limit';
|
select * from information_schema.session_variables where variable_name='open_files_limit';
|
||||||
VARIABLE_NAME VARIABLE_VALUE
|
VARIABLE_NAME VARIABLE_VALUE
|
||||||
OPEN_FILES_LIMIT 1024
|
OPEN_FILES_LIMIT #
|
||||||
set global open_files_limit=1;
|
set global open_files_limit=1;
|
||||||
ERROR HY000: Variable 'open_files_limit' is a read only variable
|
ERROR HY000: Variable 'open_files_limit' is a read only variable
|
||||||
set session open_files_limit=1;
|
set session open_files_limit=1;
|
||||||
|
@ -1,17 +1,17 @@
|
|||||||
#
|
#
|
||||||
# show the global and session values;
|
# show the global and session values;
|
||||||
#
|
#
|
||||||
--replace_result 3072 1024 16384 1024
|
--replace_column 1 #
|
||||||
select @@global.open_files_limit;
|
select @@global.open_files_limit;
|
||||||
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
|
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
|
||||||
select @@session.open_files_limit;
|
select @@session.open_files_limit;
|
||||||
--replace_result 3072 1024 16384 1024
|
--replace_column 2 #
|
||||||
show global variables like 'open_files_limit';
|
show global variables like 'open_files_limit';
|
||||||
--replace_result 3072 1024 16384 1024
|
--replace_column 2 #
|
||||||
show session variables like 'open_files_limit';
|
show session variables like 'open_files_limit';
|
||||||
--replace_result 3072 1024 16384 1024
|
--replace_column 2 #
|
||||||
select * from information_schema.global_variables where variable_name='open_files_limit';
|
select * from information_schema.global_variables where variable_name='open_files_limit';
|
||||||
--replace_result 3072 1024 16384 1024
|
--replace_column 2 #
|
||||||
select * from information_schema.session_variables where variable_name='open_files_limit';
|
select * from information_schema.session_variables where variable_name='open_files_limit';
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user