mirror of
https://github.com/MariaDB/server.git
synced 2025-08-31 22:22:30 +03:00
recv_sys_init(), recv_sys_empty_hash(): Shrink recv_sys->addr_hash.
recv_addr_t: Turn space,page_no into bitfields to save space on 64-bit. This addresses Bug #53122 in the InnoDB Plugin.
This commit is contained in:
@@ -368,8 +368,8 @@ typedef struct recv_addr_struct recv_addr_t;
|
||||
struct recv_addr_struct{
|
||||
enum recv_addr_state state;
|
||||
/*!< recovery state of the page */
|
||||
ulint space; /*!< space id */
|
||||
ulint page_no;/*!< page number */
|
||||
unsigned space:32;/*!< space id */
|
||||
unsigned page_no:32;/*!< page number */
|
||||
UT_LIST_BASE_NODE_T(recv_t)
|
||||
rec_list;/*!< list of log records for this page */
|
||||
hash_node_t addr_hash;/*!< hash node in the hash bucket chain */
|
||||
|
Reference in New Issue
Block a user