131#ifdef UNIV_LOG_LSN_DEBUG
292 return "MTR_MEMO_PAGE_S_FIX";
294 return "MTR_MEMO_PAGE_X_FIX";
296 return "MTR_MEMO_PAGE_SX_FIX";
298 return "MTR_MEMO_BUF_FIX";
301 return "MTR_MEMO_MODIFY";
304 return "MTR_MEMO_S_LOCK";
306 return "MTR_MEMO_X_LOCK";
308 return "MTR_MEMO_SX_LOCK";
312 ut_o(
return "MTR_MEMO_UNKNOWN");
mlog_id_t
Definition: mtr0types.h:62
@ MLOG_BIGGEST_TYPE
biggest value (used in assertions)
Definition: mtr0types.h:262
@ MLOG_TABLE_DYNAMIC_META
log for some persistent dynamic metadata change
Definition: mtr0types.h:236
@ MLOG_PAGE_CREATE_RTREE
Create a R-Tree index page.
Definition: mtr0types.h:219
@ MLOG_ZIP_PAGE_REORGANIZE_8027
reorganize a compressed page
Definition: mtr0types.h:216
@ MLOG_COMP_PAGE_CREATE_RTREE
create a R-tree compact page
Definition: mtr0types.h:222
@ MLOG_4BYTES
4 bytes ...
Definition: mtr0types.h:75
@ MLOG_ZIP_WRITE_BLOB_PTR
write the BLOB pointer of an externally stored column on a compressed page
Definition: mtr0types.h:204
@ MLOG_PAGE_CREATE_SDI
create a SDI index page
Definition: mtr0types.h:239
@ MLOG_IBUF_BITMAP_INIT
initialize an ibuf bitmap page
Definition: mtr0types.h:129
@ MLOG_COMP_PAGE_CREATE
create a compact index page
Definition: mtr0types.h:167
@ MLOG_REC_INSERT
Definition: mtr0types.h:250
@ MLOG_COMP_REC_MIN_MARK
mark a compact index record as the predefined minimum record
Definition: mtr0types.h:164
@ MLOG_1BYTE
one byte is written
Definition: mtr0types.h:69
@ MLOG_REC_UPDATE_IN_PLACE
Definition: mtr0types.h:253
@ MLOG_FILE_RENAME
rename a tablespace file that starts with (space_id,page_no)
Definition: mtr0types.h:158
@ MLOG_INIT_FILE_PAGE2
this means that a file page is taken into use.
Definition: mtr0types.h:226
@ MLOG_MULTI_REC_END
If a single mtr writes several log records, this log record ends the sequence of these records.
Definition: mtr0types.h:149
@ MLOG_DUMMY_RECORD
dummy log record used to pad a log block full
Definition: mtr0types.h:152
@ MLOG_REC_MIN_MARK
mark an index record as the predefined minimum record
Definition: mtr0types.h:126
@ MLOG_TEST
Used in tests of redo log.
Definition: mtr0types.h:248
@ MLOG_FILE_DELETE
delete a tablespace file that starts with (space_id,page_no)
Definition: mtr0types.h:161
@ MLOG_REC_UPDATE_IN_PLACE_8027
update of a record, preserves record field sizes
Definition: mtr0types.h:90
@ MLOG_UNDO_HDR_CREATE
create an undo log header
Definition: mtr0types.h:123
@ MLOG_LIST_END_DELETE
Definition: mtr0types.h:258
@ MLOG_COMP_REC_UPDATE_IN_PLACE_8027
update of a compact record, preserves record field sizes
Definition: mtr0types.h:181
@ MLOG_LIST_START_DELETE
Definition: mtr0types.h:259
@ MLOG_REC_DELETE
Definition: mtr0types.h:252
@ MLOG_COMP_REC_DELETE_8027
delete a compact record from a page
Definition: mtr0types.h:184
@ MLOG_REC_INSERT_8027
Record insert.
Definition: mtr0types.h:81
@ MLOG_ZIP_PAGE_REORGANIZE
Definition: mtr0types.h:256
@ MLOG_FILE_CREATE
log record about creating an .ibd file, with format
Definition: mtr0types.h:155
@ MLOG_UNDO_ERASE_END
erase an undo log page end
Definition: mtr0types.h:114
@ MLOG_LIST_END_COPY_CREATED_8027
Copy record list end to a new created index page.
Definition: mtr0types.h:102
@ MLOG_PAGE_REORGANIZE_8027
Reorganize an index page in ROW_FORMAT=REDUNDANT.
Definition: mtr0types.h:105
@ MLOG_ZIP_PAGE_COMPRESS
compress an index page
Definition: mtr0types.h:210
@ MLOG_ZIP_PAGE_COMPRESS_NO_DATA
Definition: mtr0types.h:257
@ MLOG_PAGE_CREATE
Create an index page.
Definition: mtr0types.h:108
@ MLOG_COMP_REC_SEC_DELETE_MARK
mark compact secondary index record deleted; this log record type is redundant, as MLOG_REC_SEC_DELET...
Definition: mtr0types.h:178
@ MLOG_LIST_END_COPY_CREATED
Definition: mtr0types.h:254
@ MLOG_REC_CLUST_DELETE_MARK
Definition: mtr0types.h:251
@ MLOG_COMP_REC_CLUST_DELETE_MARK_8027
mark compact clustered index record deleted
Definition: mtr0types.h:173
@ MLOG_REC_SEC_DELETE_MARK
Mark secondary index record deleted.
Definition: mtr0types.h:87
@ MLOG_REC_CLUST_DELETE_MARK_8027
Mark clustered index record deleted.
Definition: mtr0types.h:84
@ MLOG_WRITE_STRING
write a string to a page
Definition: mtr0types.h:145
@ MLOG_ZIP_PAGE_COMPRESS_NO_DATA_8027
compress an index page without logging it's image
Definition: mtr0types.h:213
@ MLOG_INIT_FILE_PAGE
this means that a file page is taken into use and the prior contents of the page should be ignored: i...
Definition: mtr0types.h:142
@ MLOG_COMP_PAGE_CREATE_SDI
create a SDI compact page
Definition: mtr0types.h:242
@ MLOG_ZIP_WRITE_HEADER
write to compressed page header
Definition: mtr0types.h:207
@ MLOG_UNDO_HDR_REUSE
reuse an insert undo log header
Definition: mtr0types.h:120
@ MLOG_ZIP_WRITE_NODE_PTR
write the node pointer of a record on a compressed non-leaf B-tree page
Definition: mtr0types.h:200
@ MLOG_COMP_LIST_START_DELETE_8027
Definition: mtr0types.h:190
@ MLOG_PAGE_REORGANIZE
Definition: mtr0types.h:255
@ MLOG_COMP_LIST_END_DELETE_8027
delete compact record list end on index page
Definition: mtr0types.h:187
@ MLOG_SINGLE_REC_FLAG
if the mtr contains only one log record for one page, i.e., write_initial_log_record has been called ...
Definition: mtr0types.h:66
@ MLOG_REC_DELETE_8027
Definition: mtr0types.h:93
@ MLOG_UNDO_INSERT
Insert entry in an undo log.
Definition: mtr0types.h:111
@ MLOG_COMP_LIST_END_COPY_CREATED_8027
copy compact record list end to a new created index page
Definition: mtr0types.h:193
@ MLOG_LIST_START_DELETE_8027
Delete record list start on index page.
Definition: mtr0types.h:99
@ MLOG_8BYTES
8 bytes ...
Definition: mtr0types.h:78
@ MLOG_LIST_END_DELETE_8027
Delete record list end on index page.
Definition: mtr0types.h:96
@ MLOG_2BYTES
2 bytes ...
Definition: mtr0types.h:72
@ MLOG_FILE_EXTEND
Extend the space.
Definition: mtr0types.h:245
@ MLOG_INDEX_LOAD
Table is being truncated.
Definition: mtr0types.h:233
@ MLOG_COMP_REC_INSERT_8027
compact record insert
Definition: mtr0types.h:170
@ MLOG_COMP_PAGE_REORGANIZE_8027
reorganize an index page
Definition: mtr0types.h:196
@ MLOG_UNDO_INIT
initialize a page in an undo log
Definition: mtr0types.h:117
constexpr uint32_t MTR_MAGIC_N
Definition: mtr0types.h:316
const char * mtr_memo_type(const ulint type)
Definition: mtr0types.h:289
mtr_log_t
Logging modes for a mini-transaction.
Definition: mtr0types.h:41
@ MTR_LOG_NONE
Log no operations and dirty pages are not added to the flush list.
Definition: mtr0types.h:46
@ MTR_LOG_ALL
Default mode: log all operations modifying disk-based data.
Definition: mtr0types.h:43
@ MTR_LOG_SHORT_INSERTS
Inserts are logged in a shorter form.
Definition: mtr0types.h:52
@ MTR_LOG_NO_REDO
Don't generate REDO log but add dirty pages to flush list.
Definition: mtr0types.h:49
@ MTR_LOG_MODE_MAX
Last element.
Definition: mtr0types.h:55
mtr_state_t
Definition: mtr0types.h:319
@ MTR_STATE_COMMITTING
Definition: mtr0types.h:322
@ MTR_STATE_ACTIVE
Definition: mtr0types.h:321
@ MTR_STATE_INIT
Definition: mtr0types.h:320
@ MTR_STATE_COMMITTED
Definition: mtr0types.h:323
mtr_memo_type_t
Types for the mlock objects to store in the mtr memo; NOTE that the first 3 values must be RW_S_LATCH...
Definition: mtr0types.h:269
@ MTR_MEMO_X_LOCK
Definition: mtr0types.h:284
@ MTR_MEMO_PAGE_X_FIX
Definition: mtr0types.h:272
@ MTR_MEMO_S_LOCK
Definition: mtr0types.h:282
@ MTR_MEMO_SX_LOCK
Definition: mtr0types.h:286
@ MTR_MEMO_BUF_FIX
Definition: mtr0types.h:276
@ MTR_MEMO_PAGE_S_FIX
Definition: mtr0types.h:270
@ MTR_MEMO_PAGE_SX_FIX
Definition: mtr0types.h:274
@ MTR_MEMO_MODIFY
Definition: mtr0types.h:279
required string type
Definition: replication_group_member_actions.proto:33
Mini-transaction handle and buffer.
Definition: mtr0mtr.h:176
The read-write lock (for threads, not for database transactions)
@ RW_SX_LATCH
Definition: sync0rw.h:99
@ RW_NO_LATCH
Definition: sync0rw.h:100
@ RW_X_LATCH
Definition: sync0rw.h:98
@ RW_S_LATCH
Definition: sync0rw.h:97
unsigned long int ulint
Definition: univ.i:405
#define ut_error
Abort execution.
Definition: ut0dbg.h:64
#define ut_o(EXPR)
Opposite of ut_d().
Definition: ut0dbg.h:72
#define ut_d(EXPR)
Debug statement.
Definition: ut0dbg.h:70