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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
ebb329c7
Commit
ebb329c7
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
13a8358d
Changes
2
Hide 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 @
ebb329c7
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;
...
...
mysql-test/suite/sys_vars/t/open_files_limit_basic.test
View file @
ebb329c7
#
# 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'
;
#
...
...
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