summaryrefslogtreecommitdiff
path: root/innobase/include/mtr0log.h
diff options
context:
space:
mode:
authorheikki@hundin.mysql.fi <>2003-11-03 19:11:09 +0200
committerheikki@hundin.mysql.fi <>2003-11-03 19:11:09 +0200
commit1796d50df339574b8f09ac018f0d44dd3eaf1580 (patch)
tree16d8e94df9055bb6ed7e41eb7afbcdebf5b61236 /innobase/include/mtr0log.h
parent06161760ce9e53778f18f48e9b065c47e1ad2fbf (diff)
downloadmariadb-git-1796d50df339574b8f09ac018f0d44dd3eaf1580.tar.gz
Many files:
Merge with ibbackup; bug fix: .ibd files were extended 2 x the required amount; InnoDB does not create the small file inno_arch_log... any more at database creation
Diffstat (limited to 'innobase/include/mtr0log.h')
-rw-r--r--innobase/include/mtr0log.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/innobase/include/mtr0log.h b/innobase/include/mtr0log.h
index acbf87df447..da942dd45d7 100644
--- a/innobase/include/mtr0log.h
+++ b/innobase/include/mtr0log.h
@@ -58,6 +58,19 @@ mlog_write_initial_log_record(
byte type, /* in: log item type: MLOG_1BYTE, ... */
mtr_t* mtr); /* in: mini-transaction handle */
/************************************************************
+Writes a log record about an .ibd file create/delete/rename. */
+UNIV_INLINE
+byte*
+mlog_write_initial_log_record_for_file_op(
+/*======================================*/
+ /* out: new value of log_ptr */
+ ulint type, /* in: MLOG_FILE_CREATE, MLOG_FILE_DELETE, or
+ MLOG_FILE_RENAME */
+ ulint space_id,/* in: space id, if applicable */
+ ulint page_no,/* in: page number (not relevant currently) */
+ byte* log_ptr,/* in: pointer to mtr log which has been opened */
+ mtr_t* mtr); /* in: mtr */
+/************************************************************
Catenates 1 - 4 bytes to the mtr log. */
UNIV_INLINE
void