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
6fcfd451
Commit
6fcfd451
authored
Oct 31, 2006
by
brian@zim.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-arch
into zim.(none):/home/brian/mysql/merge-5.1
parents
88da308f
31e47a95
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
0 deletions
+19
-0
sql/handler.cc
sql/handler.cc
+17
-0
sql/handler.h
sql/handler.h
+1
-0
sql/mysqld.cc
sql/mysqld.cc
+1
-0
No files found.
sql/handler.cc
View file @
6fcfd451
...
...
@@ -510,6 +510,23 @@ int ha_init()
DBUG_RETURN
(
error
);
}
int
ha_end
()
{
int
error
=
0
;
DBUG_ENTER
(
"ha_end"
);
/*
This should be eventualy based on the graceful shutdown flag.
So if flag is equal to HA_PANIC_CLOSE, the deallocate
the errors.
*/
if
(
ha_finish_errors
())
error
=
1
;
DBUG_RETURN
(
error
);
}
static
my_bool
dropdb_handlerton
(
THD
*
unused1
,
st_plugin_int
*
plugin
,
void
*
path
)
{
...
...
sql/handler.h
View file @
6fcfd451
...
...
@@ -1654,6 +1654,7 @@ static inline bool ha_storage_engine_is_enabled(const handlerton *db_type)
/* basic stuff */
int
ha_init
(
void
);
int
ha_end
(
void
);
int
ha_initialize_handlerton
(
st_plugin_int
*
plugin
);
int
ha_finalize_handlerton
(
st_plugin_int
*
plugin
);
...
...
sql/mysqld.cc
View file @
6fcfd451
...
...
@@ -1193,6 +1193,7 @@ void clean_up(bool print_message)
#endif
}
plugin_shutdown
();
ha_end
();
if
(
tc_log
)
tc_log
->
close
();
xid_cache_free
();
...
...
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