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
f9dee32a
Commit
f9dee32a
authored
Oct 15, 2008
by
Mikael Ronstrom
Browse files
Options
Browse Files
Download
Plain Diff
merged fixes to the new default config values
parents
f9df2096
d24a6f32
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
18 deletions
+18
-18
mysql-test/r/table_definition_cache_basic.result
mysql-test/r/table_definition_cache_basic.result
+6
-6
mysql-test/r/table_open_cache_basic.result
mysql-test/r/table_open_cache_basic.result
+5
-5
mysql-test/t/table_definition_cache_basic.test
mysql-test/t/table_definition_cache_basic.test
+2
-2
mysql-test/t/table_open_cache_basic.test
mysql-test/t/table_open_cache_basic.test
+3
-3
sql/mysql_priv.h
sql/mysql_priv.h
+2
-2
No files found.
mysql-test/r/table_definition_cache_basic.result
View file @
f9dee32a
SET @start_value = @@global.table_definition_cache;
SELECT @start_value;
@start_value
256
400
'#--------------------FN_DYNVARS_019_01------------------------#'
SET @@global.table_definition_cache = 100;
Warnings:
...
...
@@ -9,12 +9,12 @@ Warning 1292 Truncated incorrect table_definition_cache value: '100'
SET @@global.table_definition_cache = DEFAULT;
SELECT @@global.table_definition_cache;
@@global.table_definition_cache
256
400
'#---------------------FN_DYNVARS_019_02-------------------------#'
SET @@global.table_definition_cache = DEFAULT;
SELECT @@global.table_definition_cache =
128
;
@@global.table_definition_cache =
128
0
SELECT @@global.table_definition_cache =
400
;
@@global.table_definition_cache =
400
1
'#--------------------FN_DYNVARS_019_03------------------------#'
SET @@global.table_definition_cache = 1;
Warnings:
...
...
@@ -109,4 +109,4 @@ ERROR 42S22: Unknown column 'table_definition_cache' in 'field list'
SET @@global.table_definition_cache = @start_value;
SELECT @@global.table_definition_cache;
@@global.table_definition_cache
256
400
mysql-test/r/table_open_cache_basic.result
View file @
f9dee32a
SET @start_value = @@global.table_open_cache ;
SELECT @start_value;
@start_value
64
400
'#--------------------FN_DYNVARS_001_01------------------------#'
SET @@global.table_open_cache = 99;
SET @@global.table_open_cache = DeFAULT;
SELECT @@global.table_open_cache;
@@global.table_open_cache
64
400
'#---------------------FN_DYNVARS_001_02-------------------------#'
SET @@global.table_open_cache = Default;
SELECT @@global.table_open_cache =
64
;
@@global.table_open_cache =
64
SELECT @@global.table_open_cache =
400
;
@@global.table_open_cache =
400
1
'#--------------------FN_DYNVARS_001_03------------------------#'
SET @@global.table_open_cache = 8;
...
...
@@ -105,4 +105,4 @@ ERROR 42S22: Unknown column 'table_open_cache' in 'field list'
SET @@global.table_open_cache = @start_value;
SELECT @@global.table_open_cache ;
@@global.table_open_cache
64
400
mysql-test/t/table_definition_cache_basic.test
View file @
f9dee32a
...
...
@@ -4,7 +4,7 @@
# Scope: GLOBAL #
# Access Type: Dynamic #
# Data Type: Numeric #
# Default Value:
128
#
# Default Value:
400
#
# Range: 1 - 524288 #
# #
# #
...
...
@@ -52,7 +52,7 @@ SELECT @@global.table_definition_cache;
###############################################
SET
@@
global
.
table_definition_cache
=
DEFAULT
;
SELECT
@@
global
.
table_definition_cache
=
128
;
SELECT
@@
global
.
table_definition_cache
=
400
;
--
echo
'#--------------------FN_DYNVARS_019_03------------------------#'
...
...
mysql-test/t/table_open_cache_basic.test
View file @
f9dee32a
...
...
@@ -4,8 +4,8 @@
# Scope: GLOBAL #
# Access Type: Dynamic #
# Data Type: numeric #
# Default Value:
64
#
# Range:
1
-524288 #
# Default Value:
400
#
# Range:
64
-524288 #
# #
# #
# Creation Date: 2008-02-13 #
...
...
@@ -54,7 +54,7 @@ SELECT @@global.table_open_cache;
###############################################
SET
@@
global
.
table_open_cache
=
Default
;
SELECT
@@
global
.
table_open_cache
=
64
;
SELECT
@@
global
.
table_open_cache
=
400
;
--
echo
'#--------------------FN_DYNVARS_001_03------------------------#'
########################################################################
...
...
sql/mysql_priv.h
View file @
f9dee32a
...
...
@@ -260,8 +260,8 @@ class Default_object_creation_ctx : public Object_creation_ctx
#define MAX_FIELDS_BEFORE_HASH 32
#define USER_VARS_HASH_SIZE 16
#define TABLE_OPEN_CACHE_MIN 64
#define TABLE_OPEN_CACHE_DEFAULT
1024
#define TABLE_DEF_CACHE_DEFAULT
1024
#define TABLE_OPEN_CACHE_DEFAULT
400
#define TABLE_DEF_CACHE_DEFAULT
400
/**
We must have room for at least 256 table definitions in the table
cache, since otherwise there is no chance prepared
...
...
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