40 #define MTR_LOG_ALL 21
42 #define MTR_LOG_NONE 22
43 #define MTR_LOG_NO_REDO 23
47 #define MTR_LOG_SHORT_INSERTS 24
52 #define MTR_MEMO_PAGE_S_FIX RW_S_LATCH
53 #define MTR_MEMO_PAGE_X_FIX RW_X_LATCH
54 #define MTR_MEMO_BUF_FIX RW_NO_LATCH
56 # define MTR_MEMO_MODIFY 54
58 #define MTR_MEMO_S_LOCK 55
59 #define MTR_MEMO_X_LOCK 56
65 #define MLOG_SINGLE_REC_FLAG 128
71 #define MLOG_1BYTE (1)
72 #define MLOG_2BYTES (2)
73 #define MLOG_4BYTES (4)
74 #define MLOG_8BYTES (8)
75 #define MLOG_REC_INSERT ((byte)9)
76 #define MLOG_REC_CLUST_DELETE_MARK ((byte)10)
78 #define MLOG_REC_SEC_DELETE_MARK ((byte)11)
80 #define MLOG_REC_UPDATE_IN_PLACE ((byte)13)
82 #define MLOG_REC_DELETE ((byte)14)
84 #define MLOG_LIST_END_DELETE ((byte)15)
86 #define MLOG_LIST_START_DELETE ((byte)16)
88 #define MLOG_LIST_END_COPY_CREATED ((byte)17)
90 #define MLOG_PAGE_REORGANIZE ((byte)18)
93 #define MLOG_PAGE_CREATE ((byte)19)
94 #define MLOG_UNDO_INSERT ((byte)20)
96 #define MLOG_UNDO_ERASE_END ((byte)21)
98 #define MLOG_UNDO_INIT ((byte)22)
100 #define MLOG_UNDO_HDR_DISCARD ((byte)23)
102 #define MLOG_UNDO_HDR_REUSE ((byte)24)
104 #define MLOG_UNDO_HDR_CREATE ((byte)25)
106 #define MLOG_REC_MIN_MARK ((byte)26)
110 #define MLOG_IBUF_BITMAP_INIT ((byte)27)
113 #ifdef UNIV_LOG_LSN_DEBUG
114 # define MLOG_LSN ((byte)28)
116 #define MLOG_INIT_FILE_PAGE ((byte)29)
125 #define MLOG_WRITE_STRING ((byte)30)
127 #define MLOG_MULTI_REC_END ((byte)31)
131 #define MLOG_DUMMY_RECORD ((byte)32)
133 #define MLOG_FILE_CREATE ((byte)33)
135 #define MLOG_FILE_RENAME ((byte)34)
137 #define MLOG_FILE_DELETE ((byte)35)
139 #define MLOG_COMP_REC_MIN_MARK ((byte)36)
143 #define MLOG_COMP_PAGE_CREATE ((byte)37)
145 #define MLOG_COMP_REC_INSERT ((byte)38)
146 #define MLOG_COMP_REC_CLUST_DELETE_MARK ((byte)39)
150 #define MLOG_COMP_REC_SEC_DELETE_MARK ((byte)40)
158 #define MLOG_COMP_REC_UPDATE_IN_PLACE ((byte)41)
162 #define MLOG_COMP_REC_DELETE ((byte)42)
164 #define MLOG_COMP_LIST_END_DELETE ((byte)43)
166 #define MLOG_COMP_LIST_START_DELETE ((byte)44)
168 #define MLOG_COMP_LIST_END_COPY_CREATED ((byte)45)
173 #define MLOG_COMP_PAGE_REORGANIZE ((byte)46)
174 #define MLOG_FILE_CREATE2 ((byte)47)
176 #define MLOG_ZIP_WRITE_NODE_PTR ((byte)48)
179 #define MLOG_ZIP_WRITE_BLOB_PTR ((byte)49)
182 #define MLOG_ZIP_WRITE_HEADER ((byte)50)
184 #define MLOG_ZIP_PAGE_COMPRESS ((byte)51)
185 #define MLOG_ZIP_PAGE_COMPRESS_NO_DATA ((byte)52)
187 #define MLOG_ZIP_PAGE_REORGANIZE ((byte)53)
189 #define MLOG_BIGGEST_TYPE ((byte)53)
196 #define MLOG_FILE_FLAG_TEMP 1
210 __attribute__((nonnull));
218 __attribute__((nonnull));
227 #ifndef UNIV_HOTBACKUP
239 # define mtr_release_s_latch_at_savepoint(mtr,savepoint,lock) ((void) 0)
268 #ifndef UNIV_HOTBACKUP
271 #define mtr_s_lock(B, MTR) mtr_s_lock_func((B), __FILE__, __LINE__,\
275 #define mtr_x_lock(B, MTR) mtr_x_lock_func((B), __FILE__, __LINE__,\
311 __attribute__((nonnull));
313 # ifndef UNIV_HOTBACKUP
324 __attribute__((warn_unused_result, nonnull));
344 # define mtr_memo_contains(mtr, object, type) TRUE
345 # define mtr_memo_contains_page(mtr, ptr, type) TRUE
350 #define MTR_BUF_MEMO_SIZE 200
409 # define MTR_MAGIC_N 54551
412 #define MTR_ACTIVE 12231
413 #define MTR_COMMITTING 56456
414 #define MTR_COMMITTED 34676