summaryrefslogtreecommitdiff
path: root/innobase/include
diff options
context:
space:
mode:
authorunknown <marko@hundin.mysql.fi>2004-03-12 17:44:25 +0200
committerunknown <marko@hundin.mysql.fi>2004-03-12 17:44:25 +0200
commit454b01928abfe240be63b0bf6fc2e7bbd4303a1f (patch)
treee6eec6e31105c317523f9eb594a04c2c45794737 /innobase/include
parente1cb1ca6fe25380edae06ded5e22e106761dcb46 (diff)
downloadmariadb-git-454b01928abfe240be63b0bf6fc2e7bbd4303a1f.tar.gz
Remove constant parameter MLOG_8BYTES from mtr_read_dulint() and mlog_write_dulint()
Diffstat (limited to 'innobase/include')
-rw-r--r--innobase/include/btr0btr.ic3
-rw-r--r--innobase/include/mtr0log.h1
-rw-r--r--innobase/include/mtr0mtr.h1
3 files changed, 1 insertions, 4 deletions
diff --git a/innobase/include/btr0btr.ic b/innobase/include/btr0btr.ic
index 09006828cc9..fd66c7bf2a3 100644
--- a/innobase/include/btr0btr.ic
+++ b/innobase/include/btr0btr.ic
@@ -45,8 +45,7 @@ btr_page_set_index_id(
dulint id, /* in: index id */
mtr_t* mtr) /* in: mtr */
{
- mlog_write_dulint(page + PAGE_HEADER + PAGE_INDEX_ID, id,
- MLOG_8BYTES, mtr);
+ mlog_write_dulint(page + PAGE_HEADER + PAGE_INDEX_ID, id, mtr);
}
/******************************************************************
diff --git a/innobase/include/mtr0log.h b/innobase/include/mtr0log.h
index d7de6feb94d..367c9a00651 100644
--- a/innobase/include/mtr0log.h
+++ b/innobase/include/mtr0log.h
@@ -32,7 +32,6 @@ mlog_write_dulint(
/*==============*/
byte* ptr, /* in: pointer where to write */
dulint val, /* in: value to write */
- byte type, /* in: MLOG_8BYTES */
mtr_t* mtr); /* in: mini-transaction handle */
/************************************************************
Writes a string to a file page buffered in the buffer pool. Writes the
diff --git a/innobase/include/mtr0mtr.h b/innobase/include/mtr0mtr.h
index dd582adcb6f..d999b7cc5b7 100644
--- a/innobase/include/mtr0mtr.h
+++ b/innobase/include/mtr0mtr.h
@@ -189,7 +189,6 @@ mtr_read_dulint(
/*===========*/
/* out: value read */
byte* ptr, /* in: pointer from where to read */
- ulint type, /* in: MLOG_8BYTES */
mtr_t* mtr); /* in: mini-transaction handle */
/*************************************************************************
This macro locks an rw-lock in s-mode. */