summaryrefslogtreecommitdiff
path: root/storage/innobase/include/log0recv.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/include/log0recv.h')
-rw-r--r--storage/innobase/include/log0recv.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/storage/innobase/include/log0recv.h b/storage/innobase/include/log0recv.h
index 99530a3799c..d15ec19d86b 100644
--- a/storage/innobase/include/log0recv.h
+++ b/storage/innobase/include/log0recv.h
@@ -267,6 +267,15 @@ struct recv_sys_t{
ulint n_addrs;/*!< number of not processed hashed file
addresses in the hash table */
+ /** Undo tablespaces for which truncate has been logged
+ (indexed by id - srv_undo_space_id_start) */
+ struct trunc {
+ /** log sequence number of MLOG_FILE_CREATE2, or 0 if none */
+ lsn_t lsn;
+ /** truncated size of the tablespace, or 0 if not truncated */
+ unsigned pages;
+ } truncated_undo_spaces[127];
+
recv_dblwr_t dblwr;
/** Lastly added LSN to the hash table of log records. */