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
9a446b97
Commit
9a446b97
authored
Jun 30, 2003
by
igor@rurik.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysqld.cc, handler.cc:
Added multiple key cache
parent
10a8adc1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
sql/handler.cc
sql/handler.cc
+3
-2
sql/mysqld.cc
sql/mysqld.cc
+1
-1
No files found.
sql/handler.cc
View file @
9a446b97
...
...
@@ -980,13 +980,14 @@ int ha_create_table(const char *name, HA_CREATE_INFO *create_info,
void
ha_key_cache
(
void
)
{
if
(
keybuff_size
)
(
void
)
init_key_cache
((
ulong
)
keybuff_size
);
(
void
)
init_key_cache
(
&
dflt_keycache
,
dflt_key_block_size
,
(
ulong
)
keybuff_size
);
}
void
ha_resize_key_cache
(
void
)
{
(
void
)
resize_key_cache
((
ulong
)
keybuff_size
);
(
void
)
resize_key_cache
(
&
dflt_keycache
,
(
ulong
)
keybuff_size
);
}
...
...
sql/mysqld.cc
View file @
9a446b97
...
...
@@ -874,7 +874,7 @@ void clean_up(bool print_message)
udf_free
();
#endif
(
void
)
ha_panic
(
HA_PANIC_CLOSE
);
/* close all tables and logs */
end_key_cache
();
end_key_cache
(
&
dflt_keycache
,
1
);
end_thr_alarm
(
1
);
/* Free allocated memory */
#ifdef USE_RAID
end_raid
();
...
...
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