diff options
Diffstat (limited to 'storage/innobase/include/log0recv.h')
-rw-r--r-- | storage/innobase/include/log0recv.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/storage/innobase/include/log0recv.h b/storage/innobase/include/log0recv.h index b94f5a6fcec..8ede49d4ecc 100644 --- a/storage/innobase/include/log0recv.h +++ b/storage/innobase/include/log0recv.h @@ -1,6 +1,6 @@ /***************************************************************************** -Copyright (c) 1997, 2013, Oracle and/or its affiliates. All Rights Reserved. +Copyright (c) 1997, 2014, 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 @@ -371,9 +371,13 @@ struct recv_addr_t{ struct recv_dblwr_t { void add(byte* page); - byte* find_first_page(ulint space_id); + byte* find_page(ulint space_id, ulint page_no); std::list<byte *> pages; /* Pages from double write buffer */ + + void operator() () { + pages.clear(); + } }; /** Recovery system data structure */ |