diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2018-02-06 15:44:21 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2018-02-06 15:44:21 +0200 |
commit | eda142590f385b3d79e7b6a6e0cc13ba8fd25961 (patch) | |
tree | a2c114a07f4060340a8826d686b008ddb6374419 | |
parent | 502e2445e65929b2af881a8cfe49d8cdeb5b14e1 (diff) | |
download | mariadb-git-eda142590f385b3d79e7b6a6e0cc13ba8fd25961.tar.gz |
Improve the documentation of some TRX_RSEG fields
-rw-r--r-- | storage/innobase/include/trx0rseg.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/storage/innobase/include/trx0rseg.h b/storage/innobase/include/trx0rseg.h index 73bfb4ac50a..5642dd0d4a8 100644 --- a/storage/innobase/include/trx0rseg.h +++ b/storage/innobase/include/trx0rseg.h @@ -212,12 +212,12 @@ struct trx_rseg_t { /* Transaction rollback segment header */ /*-------------------------------------------------------------*/ -#define TRX_RSEG_FORMAT 0 /* -2 = pre-MariaDB 10.3.5 format; - 0=MariaDB 10.3.5 or later */ -#define TRX_RSEG_HISTORY_SIZE 4 /* Number of file pages occupied - by the logs in the history list */ -#define TRX_RSEG_HISTORY 8 /* The update undo logs for committed - transactions */ +/** 0xfffffffe = pre-MariaDB 10.3.5 format; 0=MariaDB 10.3.5 or later */ +#define TRX_RSEG_FORMAT 0 +/** Number of pages in the TRX_RSEG_HISTORY list */ +#define TRX_RSEG_HISTORY_SIZE 4 +/** Committed transaction logs that have not been purged yet */ +#define TRX_RSEG_HISTORY 8 #define TRX_RSEG_FSEG_HEADER (8 + FLST_BASE_NODE_SIZE) /* Header for the file segment where this page is placed */ |