Commit 6cc88c3d authored by Marko Mäkelä's avatar Marko Mäkelä

Clean up buf0buf.inl

Let us move some #include directives from buf0buf.inl to
the compilation units where they are really used.
parent 448c2077
...@@ -51,6 +51,7 @@ Created 10/16/1994 Heikki Tuuri ...@@ -51,6 +51,7 @@ Created 10/16/1994 Heikki Tuuri
#include "rem0rec.h" #include "rem0rec.h"
#include "rem0cmp.h" #include "rem0cmp.h"
#include "buf0lru.h" #include "buf0lru.h"
#include "buf0rea.h"
#include "btr0btr.h" #include "btr0btr.h"
#include "btr0sea.h" #include "btr0sea.h"
#include "row0log.h" #include "row0log.h"
......
...@@ -34,18 +34,21 @@ Created 11/5/1995 Heikki Tuuri ...@@ -34,18 +34,21 @@ Created 11/5/1995 Heikki Tuuri
#include "assume_aligned.h" #include "assume_aligned.h"
#include "mtr0types.h" #include "mtr0types.h"
#include "mach0data.h" #include "mach0data.h"
#include "buf0buf.h"
#include "buf0checksum.h" #include "buf0checksum.h"
#include "ut0crc32.h" #include "ut0crc32.h"
#include "mariadb_stats.h" #include "mariadb_stats.h"
#include <string.h> #include <string.h>
#ifndef UNIV_INNOCHECKSUM #ifdef UNIV_INNOCHECKSUM
# include "buf0buf.h"
#else
#include "my_cpu.h" #include "my_cpu.h"
#include "mem0mem.h" #include "mem0mem.h"
#include "btr0btr.h" #include "btr0btr.h"
#include "fil0fil.h" #include "fil0fil.h"
#include "fil0crypt.h" #include "fil0crypt.h"
#include "buf0rea.h"
#include "buf0flu.h"
#include "buf0buddy.h" #include "buf0buddy.h"
#include "buf0dblwr.h" #include "buf0dblwr.h"
#include "lock0lock.h" #include "lock0lock.h"
......
...@@ -25,7 +25,7 @@ Created 2011/12/19 ...@@ -25,7 +25,7 @@ Created 2011/12/19
*******************************************************/ *******************************************************/
#include "buf0dblwr.h" #include "buf0dblwr.h"
#include "buf0buf.h" #include "buf0flu.h"
#include "buf0checksum.h" #include "buf0checksum.h"
#include "srv0start.h" #include "srv0start.h"
#include "srv0srv.h" #include "srv0srv.h"
......
...@@ -31,7 +31,7 @@ Created April 08, 2011 Vasil Dimov ...@@ -31,7 +31,7 @@ Created April 08, 2011 Vasil Dimov
#include "mysql/psi/mysql_stage.h" #include "mysql/psi/mysql_stage.h"
#include "mysql/psi/psi.h" #include "mysql/psi/psi.h"
#include "buf0buf.h" #include "buf0rea.h"
#include "buf0dump.h" #include "buf0dump.h"
#include "dict0dict.h" #include "dict0dict.h"
#include "os0file.h" #include "os0file.h"
......
...@@ -24,13 +24,13 @@ Modified Jan Lindström jan.lindstrom@mariadb.com ...@@ -24,13 +24,13 @@ Modified Jan Lindström jan.lindstrom@mariadb.com
*******************************************************/ *******************************************************/
#include "fil0crypt.h" #include "fil0crypt.h"
#include "mtr0types.h"
#include "mach0data.h" #include "mach0data.h"
#include "page0zip.h" #include "page0zip.h"
#include "buf0checksum.h" #include "buf0checksum.h"
#ifdef UNIV_INNOCHECKSUM #ifdef UNIV_INNOCHECKSUM
# include "buf0buf.h" # include "buf0buf.h"
#else #else
#include "buf0flu.h"
#include "buf0dblwr.h" #include "buf0dblwr.h"
#include "srv0srv.h" #include "srv0srv.h"
#include "srv0start.h" #include "srv0start.h"
......
...@@ -31,11 +31,7 @@ The database buffer buf_pool ...@@ -31,11 +31,7 @@ The database buffer buf_pool
Created 11/5/1995 Heikki Tuuri Created 11/5/1995 Heikki Tuuri
*******************************************************/ *******************************************************/
#include "mtr0mtr.h"
#include "buf0flu.h"
#include "buf0lru.h" #include "buf0lru.h"
#include "buf0rea.h"
#include "fsp0types.h"
/** Determine if a block is still close enough to the MRU end of the LRU list /** Determine if a block is still close enough to the MRU end of the LRU list
meaning that it is not in danger of getting evicted and also implying meaning that it is not in danger of getting evicted and also implying
...@@ -141,4 +137,3 @@ buf_block_get_modify_clock( ...@@ -141,4 +137,3 @@ buf_block_get_modify_clock(
ut_ad(block->page.lock.have_any()); ut_ad(block->page.lock.have_any());
return(block->modify_clock); return(block->modify_clock);
} }
...@@ -43,6 +43,7 @@ Created 1/8/1996 Heikki Tuuri ...@@ -43,6 +43,7 @@ Created 1/8/1996 Heikki Tuuri
#include "trx0types.h" #include "trx0types.h"
#include "fts0fts.h" #include "fts0fts.h"
#include "buf0buf.h" #include "buf0buf.h"
#include "mtr0mtr.h"
#include "gis0type.h" #include "gis0type.h"
#include "fil0fil.h" #include "fil0fil.h"
#include "fil0crypt.h" #include "fil0crypt.h"
......
...@@ -29,6 +29,7 @@ Created 2012-02-08 by Sunny Bains. ...@@ -29,6 +29,7 @@ Created 2012-02-08 by Sunny Bains.
#ifdef BTR_CUR_HASH_ADAPT #ifdef BTR_CUR_HASH_ADAPT
# include "btr0sea.h" # include "btr0sea.h"
#endif #endif
#include "buf0flu.h"
#include "que0que.h" #include "que0que.h"
#include "dict0boot.h" #include "dict0boot.h"
#include "dict0load.h" #include "dict0load.h"
......
...@@ -31,6 +31,7 @@ Created 9/17/2000 Heikki Tuuri ...@@ -31,6 +31,7 @@ Created 9/17/2000 Heikki Tuuri
#include <spatial.h> #include <spatial.h>
#include "row0mysql.h" #include "row0mysql.h"
#include "buf0flu.h"
#include "btr0sea.h" #include "btr0sea.h"
#include "dict0boot.h" #include "dict0boot.h"
#include "dict0crea.h" #include "dict0crea.h"
......
...@@ -26,6 +26,7 @@ Created 2012-02-08 by Sunny Bains. ...@@ -26,6 +26,7 @@ Created 2012-02-08 by Sunny Bains.
#include "row0quiesce.h" #include "row0quiesce.h"
#include "row0mysql.h" #include "row0mysql.h"
#include "buf0flu.h"
#include "ibuf0ibuf.h" #include "ibuf0ibuf.h"
#include "srv0start.h" #include "srv0start.h"
#include "trx0purge.h" #include "trx0purge.h"
......
...@@ -25,7 +25,7 @@ Database monitor counter interfaces ...@@ -25,7 +25,7 @@ Database monitor counter interfaces
Created 12/9/2009 Jimmy Yang Created 12/9/2009 Jimmy Yang
*******************************************************/ *******************************************************/
#include "buf0buf.h" #include "buf0flu.h"
#include "dict0mem.h" #include "dict0mem.h"
#include "ibuf0ibuf.h" #include "ibuf0ibuf.h"
#include "lock0lock.h" #include "lock0lock.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment