don't show the value of open_files_limit

This commit is contained in:
Sergei Golubchik 2009-12-26 09:35:42 +01:00
parent bd05ac9a6b
commit 9c22d1ecfa
2 changed files with 10 additions and 10 deletions

View file

@ -1,20 +1,20 @@
select @@global.open_files_limit;
@@global.open_files_limit
1024
#
select @@session.open_files_limit;
ERROR HY000: Variable 'open_files_limit' is a GLOBAL variable
show global variables like 'open_files_limit';
Variable_name Value
open_files_limit 1024
open_files_limit #
show session variables like 'open_files_limit';
Variable_name Value
open_files_limit 1024
open_files_limit #
select * from information_schema.global_variables where variable_name='open_files_limit';
VARIABLE_NAME VARIABLE_VALUE
OPEN_FILES_LIMIT 1024
OPEN_FILES_LIMIT #
select * from information_schema.session_variables where variable_name='open_files_limit';
VARIABLE_NAME VARIABLE_VALUE
OPEN_FILES_LIMIT 1024
OPEN_FILES_LIMIT #
set global open_files_limit=1;
ERROR HY000: Variable 'open_files_limit' is a read only variable
set session open_files_limit=1;

View file

@ -1,17 +1,17 @@
#
# show the global and session values;
#
--replace_result 3072 1024 16384 1024
--replace_column 1 #
select @@global.open_files_limit;
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
select @@session.open_files_limit;
--replace_result 3072 1024 16384 1024
--replace_column 2 #
show global variables like 'open_files_limit';
--replace_result 3072 1024 16384 1024
--replace_column 2 #
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';
--replace_result 3072 1024 16384 1024
--replace_column 2 #
select * from information_schema.session_variables where variable_name='open_files_limit';
#