diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2018-04-27 10:06:14 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2018-04-29 09:46:24 +0300 |
commit | d73a898d644b488a5985856b128da39dd98b6925 (patch) | |
tree | 21feba12830c92ef16661639f69e7ee65af78013 /storage/innobase/include/log0recv.h | |
parent | 715e4f4320f5b9d830d6ce22792db0fa0ce4a690 (diff) | |
download | mariadb-git-d73a898d644b488a5985856b128da39dd98b6925.tar.gz |
MDEV-16045: Allocate log_sys statically
There is only one redo log subsystem in InnoDB. Allocate the object
statically, to avoid unnecessary dereferencing of the pointer.
log_t::create(): Renamed from log_sys_init().
log_t::close(): Renamed from log_shutdown().
log_t::checkpoint_buf_ptr: Remove. Allocate log_t::checkpoint_buf
statically.
Diffstat (limited to 'storage/innobase/include/log0recv.h')
-rw-r--r-- | storage/innobase/include/log0recv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/include/log0recv.h b/storage/innobase/include/log0recv.h index 19e13fcdcc6..50d581e9101 100644 --- a/storage/innobase/include/log0recv.h +++ b/storage/innobase/include/log0recv.h @@ -331,7 +331,7 @@ extern bool recv_no_ibuf_operations; extern bool recv_needed_recovery; #ifdef UNIV_DEBUG /** TRUE if writing to the redo log (mtr_commit) is forbidden. -Protected by log_sys->mutex. */ +Protected by log_sys.mutex. */ extern bool recv_no_log_write; #endif /* UNIV_DEBUG */ |