summaryrefslogtreecommitdiff
path: root/innobase/include/log0log.h
diff options
context:
space:
mode:
authorheikki@hundin.mysql.fi <>2003-10-07 17:28:59 +0300
committerheikki@hundin.mysql.fi <>2003-10-07 17:28:59 +0300
commit6112853cdab2770e92f9cfefdfef9c0a14b71cb7 (patch)
treed53a5cc4e9736e149276ba08d53a7dd09a14b4fd /innobase/include/log0log.h
parent862ff0ed1c1dad812af60987d7ec1a2706d3772c (diff)
downloadmariadb-git-6112853cdab2770e92f9cfefdfef9c0a14b71cb7.tar.gz
Many files:
Multiple tablespaces for InnoDB sql_table.cc: Tell explicitly that InnoDB should retrieve all columns in CHECKSUM TABLE sql_update.cc, sql_select.cc, my_base.h: More descriptive flag name HA_EXTRA_RETRIEVE_ALL_COLS
Diffstat (limited to 'innobase/include/log0log.h')
-rw-r--r--innobase/include/log0log.h33
1 files changed, 20 insertions, 13 deletions
diff --git a/innobase/include/log0log.h b/innobase/include/log0log.h
index 24ec28a56e6..dc44429d636 100644
--- a/innobase/include/log0log.h
+++ b/innobase/include/log0log.h
@@ -519,9 +519,9 @@ Peeks the current lsn. */
ibool
log_peek_lsn(
/*=========*/
- /* out: TRUE if success, FALSE if could not get the
- log system mutex */
- dulint* lsn); /* out: if returns TRUE, current lsn is here */
+ /* out: TRUE if success, FALSE if could not get the
+ log system mutex */
+ dulint* lsn); /* out: if returns TRUE, current lsn is here */
/**************************************************************************
Refreshes the statistics used to print per-second averages. */
@@ -549,7 +549,7 @@ extern log_t* log_sys;
highest bit is set to 1 if this is the
first log block in a log flush write
segment */
-#define LOG_BLOCK_FLUSH_BIT_MASK 0x80000000
+#define LOG_BLOCK_FLUSH_BIT_MASK 0x80000000UL
/* mask used to get the highest bit in
the preceding field */
#define LOG_BLOCK_HDR_DATA_LEN 4 /* number of bytes of log written to
@@ -600,12 +600,18 @@ extern log_t* log_sys;
#define LOG_CHECKPOINT_CHECKSUM_1 LOG_CHECKPOINT_ARRAY_END
#define LOG_CHECKPOINT_CHECKSUM_2 (4 + LOG_CHECKPOINT_ARRAY_END)
#define LOG_CHECKPOINT_FSP_FREE_LIMIT (8 + LOG_CHECKPOINT_ARRAY_END)
- /* current fsp free limit in the
- tablespace, in units of one megabyte */
+ /* current fsp free limit in
+ tablespace 0, in units of one
+ megabyte; this information is only used
+ by ibbackup to decide if it can
+ truncate unused ends of
+ non-auto-extending data files in space
+ 0 */
#define LOG_CHECKPOINT_FSP_MAGIC_N (12 + LOG_CHECKPOINT_ARRAY_END)
/* this magic number tells if the
checkpoint contains the above field:
- the field was added to InnoDB-3.23.50 */
+ the field was added to
+ InnoDB-3.23.50 */
#define LOG_CHECKPOINT_SIZE (16 + LOG_CHECKPOINT_ARRAY_END)
#define LOG_CHECKPOINT_FSP_MAGIC_N_VAL 1441231243
@@ -794,11 +800,11 @@ struct log_struct{
called */
/* Fields involved in checkpoints */
- ulint log_group_capacity; /* capacity of the log group; if
- the checkpoint age exceeds this, it is
- a serious error because it is possible
- we will then overwrite log and spoil
- crash recovery */
+ ulint log_group_capacity; /* capacity of the log group; if
+ the checkpoint age exceeds this, it is
+ a serious error because it is possible
+ we will then overwrite log and spoil
+ crash recovery */
ulint max_modified_age_async;
/* when this recommended value for lsn
- buf_pool_get_oldest_modification()
@@ -840,7 +846,8 @@ struct log_struct{
/* Fields involved in archiving */
ulint archiving_state;/* LOG_ARCH_ON, LOG_ARCH_STOPPING
LOG_ARCH_STOPPED, LOG_ARCH_OFF */
- dulint archived_lsn; /* archiving has advanced to this lsn */
+ dulint archived_lsn; /* archiving has advanced to this
+ lsn */
ulint max_archived_lsn_age_async;
/* recommended maximum age of
archived_lsn, before we start