Browse Source
MDEV-19584 Allocate recv_sys statically
MDEV-19584 Allocate recv_sys statically
There is only one InnoDB crash recovery subsystem. Allocating recv_sys statically removes one level of pointer indirection and makes code more readable, and removes the awkward initialization of recv_sys->dblwr. recv_sys_t::create(): Replaces recv_sys_init(). recv_sys_t::debug_free(): Replaces recv_sys_debug_free(). recv_sys_t::close(): Replaces recv_sys_close(). recv_sys_t::add(): Replaces recv_add_to_hash_table(). recv_sys_t::empty(): Replaces recv_sys_empty_hash().pull/1316/head
15 changed files with 419 additions and 411 deletions
-
20extra/mariabackup/xtrabackup.cc
-
12storage/innobase/buf/buf0buf.cc
-
4storage/innobase/buf/buf0dblwr.cc
-
10storage/innobase/buf/buf0flu.cc
-
2storage/innobase/fil/fil0fil.cc
-
2storage/innobase/fsp/fsp0file.cc
-
54storage/innobase/include/log0recv.h
-
6storage/innobase/log/log0log.cc
-
666storage/innobase/log/log0recv.cc
-
8storage/innobase/mtr/mtr0log.cc
-
6storage/innobase/page/page0cur.cc
-
10storage/innobase/page/page0zip.cc
-
22storage/innobase/srv/srv0start.cc
-
6storage/innobase/trx/trx0roll.cc
-
2storage/innobase/trx/trx0undo.cc
666
storage/innobase/log/log0recv.cc
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
Write
Preview
Loading…
Cancel
Save
Reference in new issue