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
e949a725
Commit
e949a725
authored
Jun 12, 2012
by
Igor Babaev
Browse files
Options
Browse Files
Download
Plain Diff
Merge.
parents
cc6a97d5
c2b458ed
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
199 additions
and
56 deletions
+199
-56
include/keycache.h
include/keycache.h
+2
-1
mysys/mf_keycache.c
mysys/mf_keycache.c
+197
-55
No files found.
include/keycache.h
View file @
e949a725
...
...
@@ -150,9 +150,10 @@ typedef struct st_key_cache
ulong
param_partitions
;
/* number of the key cache partitions */
my_bool
key_cache_inited
;
/* <=> key cache has been created */
my_bool
can_be_used
;
/* usage of cache for read/write is allowed */
my_bool
in_init
;
/* S
et to 1 in MySQL during init/resize */
my_bool
in_init
;
/* s
et to 1 in MySQL during init/resize */
uint
partitions
;
/* actual number of partitions */
size_t
key_cache_mem_size
;
/* specified size of the cache memory */
pthread_mutex_t
op_lock
;
/* to serialize operations like 'resize' */
}
KEY_CACHE
;
...
...
mysys/mf_keycache.c
View file @
e949a725
This diff is collapsed.
Click to expand it.
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