summaryrefslogtreecommitdiff
path: root/innobase/include/buf0buf.h
diff options
context:
space:
mode:
authorunknown <kaa@polly.local>2004-12-14 22:26:31 +0300
committerunknown <kaa@polly.local>2004-12-14 22:26:31 +0300
commit526fbcbbc551495d1fed482fbfa9b4f7496a935c (patch)
tree039af5ac48ea9b322014c4c858874b5452e38d9d /innobase/include/buf0buf.h
parent8d45c5f9d0ed290bb0bb880488b5ff1d5c2c7619 (diff)
downloadmariadb-git-526fbcbbc551495d1fed482fbfa9b4f7496a935c.tar.gz
Forward port of HugeTLB, InnoDB doublewrite and checksums patches to 5.0
BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
Diffstat (limited to 'innobase/include/buf0buf.h')
-rw-r--r--innobase/include/buf0buf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/innobase/include/buf0buf.h b/innobase/include/buf0buf.h
index 8df1211327f..5ee323f1b1e 100644
--- a/innobase/include/buf0buf.h
+++ b/innobase/include/buf0buf.h
@@ -52,6 +52,8 @@ Created 11/5/1995 Heikki Tuuri
/* Modes for buf_page_get_known_nowait */
#define BUF_MAKE_YOUNG 51
#define BUF_KEEP_OLD 52
+/* Magic value to use instead of checksums when they are disabled */
+#define BUF_NO_CHECKSUM_MAGIC 0xDEADBEEFUL
extern buf_pool_t* buf_pool; /* The buffer pool of the database */
extern ibool buf_debug_prints;/* If this is set TRUE, the program