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
17261fa8
Commit
17261fa8
authored
Oct 31, 2006
by
unknown
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
49f0af0b
b014bd22
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 @
17261fa8
...
@@ -510,6 +510,23 @@ int ha_init()
...
@@ -510,6 +510,23 @@ int ha_init()
DBUG_RETURN
(
error
);
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
,
static
my_bool
dropdb_handlerton
(
THD
*
unused1
,
st_plugin_int
*
plugin
,
void
*
path
)
void
*
path
)
{
{
...
...
sql/handler.h
View file @
17261fa8
...
@@ -1654,6 +1654,7 @@ static inline bool ha_storage_engine_is_enabled(const handlerton *db_type)
...
@@ -1654,6 +1654,7 @@ static inline bool ha_storage_engine_is_enabled(const handlerton *db_type)
/* basic stuff */
/* basic stuff */
int
ha_init
(
void
);
int
ha_init
(
void
);
int
ha_end
(
void
);
int
ha_initialize_handlerton
(
st_plugin_int
*
plugin
);
int
ha_initialize_handlerton
(
st_plugin_int
*
plugin
);
int
ha_finalize_handlerton
(
st_plugin_int
*
plugin
);
int
ha_finalize_handlerton
(
st_plugin_int
*
plugin
);
...
...
sql/mysqld.cc
View file @
17261fa8
...
@@ -1193,6 +1193,7 @@ void clean_up(bool print_message)
...
@@ -1193,6 +1193,7 @@ void clean_up(bool print_message)
#endif
#endif
}
}
plugin_shutdown
();
plugin_shutdown
();
ha_end
();
if
(
tc_log
)
if
(
tc_log
)
tc_log
->
close
();
tc_log
->
close
();
xid_cache_free
();
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