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
cd79be82
Commit
cd79be82
authored
Apr 06, 2017
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup: unused method LOGGER::flush_logs
parent
06ee58a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
18 deletions
+0
-18
sql/log.cc
sql/log.cc
+0
-17
sql/log.h
sql/log.h
+0
-1
No files found.
sql/log.cc
View file @
cd79be82
...
@@ -1197,23 +1197,6 @@ void LOGGER::init_log_tables()
...
@@ -1197,23 +1197,6 @@ void LOGGER::init_log_tables()
}
}
bool
LOGGER
::
flush_logs
(
THD
*
thd
)
{
/*
Now we lock logger, as nobody should be able to use logging routines while
log tables are closed
*/
logger
.
lock_exclusive
();
/* reopen log files */
file_log_handler
->
flush
();
/* end of log flush */
logger
.
unlock
();
return
0
;
}
/**
/**
Close and reopen the slow log (with locks).
Close and reopen the slow log (with locks).
...
...
sql/log.h
View file @
cd79be82
...
@@ -1016,7 +1016,6 @@ class LOGGER
...
@@ -1016,7 +1016,6 @@ class LOGGER
*/
*/
void
init_base
();
void
init_base
();
void
init_log_tables
();
void
init_log_tables
();
bool
flush_logs
(
THD
*
thd
);
bool
flush_slow_log
();
bool
flush_slow_log
();
bool
flush_general_log
();
bool
flush_general_log
();
/* Perform basic logger cleanup. this will leave e.g. error log open. */
/* Perform basic logger cleanup. this will leave e.g. error log open. */
...
...
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