diff options
author | Monty <monty@mariadb.org> | 2016-04-28 17:15:38 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2016-04-28 17:15:38 +0300 |
commit | 636bb59034fd13d2e1b27af42adbb01ddeb3bd82 (patch) | |
tree | 476c6baee07e742b5c50a2786e1246f29b1a63cb /sql/log.cc | |
parent | 32d3d9f7dffa8ef96e6268b53f35453da2f6484d (diff) | |
download | mariadb-git-636bb59034fd13d2e1b27af42adbb01ddeb3bd82.tar.gz |
Final fixes for Memory_used
- Change some static variables to dynamic to ensure that we don't do any memory
allocations before server starts or stops
- Print more memory information on SIGHUP. Fixed output.
- Write out if memory was lost if run with --debug-at-exit
- Fixed wrong #ifdef in sql_cache.cc
Diffstat (limited to 'sql/log.cc')
-rw-r--r-- | sql/log.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/log.cc b/sql/log.cc index dc8c08bfd36..f04b1432229 100644 --- a/sql/log.cc +++ b/sql/log.cc @@ -139,6 +139,12 @@ static bool start_binlog_background_thread(); static rpl_binlog_state rpl_global_gtid_binlog_state; +void setup_log_handling() +{ + rpl_global_gtid_binlog_state.init(); +} + + /** purge logs, master and slave sides both, related error code convertor. |