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
e86c0a5f
Commit
e86c0a5f
authored
Apr 26, 2018
by
Monty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase number of max table_open_cache instances
This is a backport of MDEV-11429 from 10.1
parent
c7bb3372
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
mysql-test/suite/sys_vars/r/table_open_cache_basic.result
mysql-test/suite/sys_vars/r/table_open_cache_basic.result
+2
-2
sql/sys_vars.cc
sql/sys_vars.cc
+1
-1
No files found.
mysql-test/suite/sys_vars/r/table_open_cache_basic.result
View file @
e86c0a5f
...
...
@@ -27,7 +27,7 @@ Warnings:
Warning 1292 Truncated incorrect table_open_cache value: '1073741824'
SELECT @@global.table_open_cache ;
@@global.table_open_cache
524288
1048576
SET @@global.table_open_cache = 18000;
SELECT @@global.table_open_cache ;
@@global.table_open_cache
...
...
@@ -48,7 +48,7 @@ Warnings:
Warning 1292 Truncated incorrect table_open_cache value: '100000000000'
SELECT @@global.table_open_cache ;
@@global.table_open_cache
524288
1048576
SET @@global.table_open_cache = -1024;
Warnings:
Warning 1292 Truncated incorrect table_open_cache value: '-1024'
...
...
sql/sys_vars.cc
View file @
e86c0a5f
...
...
@@ -3059,7 +3059,7 @@ static bool fix_table_open_cache(sys_var *, THD *, enum_var_type)
static
Sys_var_ulong
Sys_table_cache_size
(
"table_open_cache"
,
"The number of cached open tables"
,
GLOBAL_VAR
(
tc_size
),
CMD_LINE
(
REQUIRED_ARG
),
VALID_RANGE
(
1
,
512
*
1024
),
DEFAULT
(
TABLE_OPEN_CACHE_DEFAULT
),
VALID_RANGE
(
1
,
1024
*
1024
),
DEFAULT
(
TABLE_OPEN_CACHE_DEFAULT
),
BLOCK_SIZE
(
1
),
NO_MUTEX_GUARD
,
NOT_IN_BINLOG
,
ON_CHECK
(
0
),
ON_UPDATE
(
fix_table_open_cache
));
...
...
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