diff options
Diffstat (limited to 'storage/innobase/include/log0recv.h')
-rw-r--r-- | storage/innobase/include/log0recv.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/storage/innobase/include/log0recv.h b/storage/innobase/include/log0recv.h index e4a8f0d25a2..73d5724f612 100644 --- a/storage/innobase/include/log0recv.h +++ b/storage/innobase/include/log0recv.h @@ -266,15 +266,9 @@ private: @param lsn log sequence number of the shrink operation */ inline void trim(const page_id_t page_id, lsn_t lsn); - /** Undo tablespaces for which truncate has been logged - (indexed by page_id_t::space() - srv_undo_space_id_start) */ - struct trunc - { - /** log sequence number of FILE_CREATE, or 0 if none */ - lsn_t lsn; - /** truncated size of the tablespace, or 0 if not truncated */ - unsigned pages; - } truncated_undo_spaces[127]; + /** Truncated undo tablespace size for which truncate has been logged + (indexed by page_id_t::space() - srv_undo_space_id_start), or 0 */ + unsigned truncated_undo_spaces[127]; public: /** The contents of the doublewrite buffer */ |