diff options
author | Sergei Golubchik <sergii@pisem.net> | 2014-05-06 09:57:39 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2014-05-06 09:57:39 +0200 |
commit | e2e5d07b2807706fb9187f00c049474a01ab15da (patch) | |
tree | 811b3c4d12a5a75af76fc88d793c3cdb17bf4414 /storage/innobase/include/log0recv.h | |
parent | 3792693f311a90cf195ec6d2f9b3762255a249c7 (diff) | |
parent | 83759e02dc12c8fb2576e240f307bc789e9c59cd (diff) | |
download | mariadb-git-e2e5d07b2807706fb9187f00c049474a01ab15da.tar.gz |
MDEV-6184 10.0.11 merge
InnoDB 5.6.16
Diffstat (limited to 'storage/innobase/include/log0recv.h')
-rw-r--r-- | storage/innobase/include/log0recv.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/storage/innobase/include/log0recv.h b/storage/innobase/include/log0recv.h index dcdd4bdd8aa..b94f5a6fcec 100644 --- a/storage/innobase/include/log0recv.h +++ b/storage/innobase/include/log0recv.h @@ -1,6 +1,6 @@ /***************************************************************************** -Copyright (c) 1997, 2012, Oracle and/or its affiliates. All Rights Reserved. +Copyright (c) 1997, 2013, Oracle and/or its affiliates. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -31,6 +31,7 @@ Created 9/20/1997 Heikki Tuuri #include "buf0types.h" #include "hash0hash.h" #include "log0log.h" +#include <list> #ifdef UNIV_HOTBACKUP extern ibool recv_replay_file_ops; @@ -367,6 +368,14 @@ struct recv_addr_t{ hash_node_t addr_hash;/*!< hash node in the hash bucket chain */ }; +struct recv_dblwr_t { + void add(byte* page); + + byte* find_first_page(ulint space_id); + + std::list<byte *> pages; /* Pages from double write buffer */ +}; + /** Recovery system data structure */ struct recv_sys_t{ #ifndef UNIV_HOTBACKUP @@ -431,6 +440,8 @@ struct recv_sys_t{ hash_table_t* addr_hash;/*!< hash table of file addresses of pages */ ulint n_addrs;/*!< number of not processed hashed file addresses in the hash table */ + + recv_dblwr_t dblwr; }; /** The recovery system */ |