diff options
author | Sergei Golubchik <sergii@pisem.net> | 2014-05-07 17:32:23 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2014-05-07 17:32:23 +0200 |
commit | 8ee9d19607d84aeebf97b704a19453f6a772299b (patch) | |
tree | 75e597dde9dc38b7fa3352abec7e88edddce2182 /storage/innobase/include/log0recv.h | |
parent | 08f3280235efbaf20988b81653fced604de1a90f (diff) | |
parent | 60aba058b116c1d2fa4106fc8de92daf10152480 (diff) | |
download | mariadb-git-8ee9d19607d84aeebf97b704a19453f6a772299b.tar.gz |
innodb 5.6.17
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 */ |