Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
825ba2ec
Commit
825ba2ec
authored
Dec 26, 2009
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't show the value of open_files_limit
parent
28056ba2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
mysql-test/suite/sys_vars/r/open_files_limit_basic.result
mysql-test/suite/sys_vars/r/open_files_limit_basic.result
+5
-5
mysql-test/suite/sys_vars/t/open_files_limit_basic.test
mysql-test/suite/sys_vars/t/open_files_limit_basic.test
+5
-5
No files found.
mysql-test/suite/sys_vars/r/open_files_limit_basic.result
View file @
825ba2ec
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;
...
...
mysql-test/suite/sys_vars/t/open_files_limit_basic.test
View file @
825ba2ec
#
#
# 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'
;
#
#
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment