diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2017-03-09 22:06:22 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2017-03-10 08:15:25 +0200 |
commit | a20340cf859ba1b10174d4b8ee002d1548bf102c (patch) | |
tree | e0be26cad1a7a2a75c03f128312362feb9f83a95 /storage/innobase/include/trx0purge.h | |
parent | 0ef91c89582fd9cacf0f7b2801351de4772ef374 (diff) | |
download | mariadb-git-a20340cf859ba1b10174d4b8ee002d1548bf102c.tar.gz |
Hard-code innodb_page_size as the undo log page size.
InnoDB undo logs currently always use the innodb_page_size,
whether they are stored in the system tablespace, in a
dedicated undo tablespace, or in the temporary tablespace.
Remove redundant page_size parameters.
TrxUndoRsegsIterator::set_next(): return bool instead of page_size.
Diffstat (limited to 'storage/innobase/include/trx0purge.h')
-rw-r--r-- | storage/innobase/include/trx0purge.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/storage/innobase/include/trx0purge.h b/storage/innobase/include/trx0purge.h index 245262b794f..ef4024d9908 100644 --- a/storage/innobase/include/trx0purge.h +++ b/storage/innobase/include/trx0purge.h @@ -210,11 +210,8 @@ struct TrxUndoRsegsIterator { TrxUndoRsegsIterator(); /** Sets the next rseg to purge in purge_sys. - @return page size of the table for which the log is. - NOTE: if rseg is NULL when this function returns this means that - there are no rollback segments to purge and then the returned page - size object should not be used. */ - const page_size_t set_next(); + @return whether anything is to be purged */ + bool set_next(); private: // Disable copying |