Clean up buf0buf.inl
Let us move some #include directives from buf0buf.inl to the compilation units where they are really used.
This commit is contained in:
parent
448c2077fb
commit
6cc88c3db1
@ -51,6 +51,7 @@ Created 10/16/1994 Heikki Tuuri
|
||||
#include "rem0rec.h"
|
||||
#include "rem0cmp.h"
|
||||
#include "buf0lru.h"
|
||||
#include "buf0rea.h"
|
||||
#include "btr0btr.h"
|
||||
#include "btr0sea.h"
|
||||
#include "row0log.h"
|
||||
|
@ -34,18 +34,21 @@ Created 11/5/1995 Heikki Tuuri
|
||||
#include "assume_aligned.h"
|
||||
#include "mtr0types.h"
|
||||
#include "mach0data.h"
|
||||
#include "buf0buf.h"
|
||||
#include "buf0checksum.h"
|
||||
#include "ut0crc32.h"
|
||||
#include "mariadb_stats.h"
|
||||
#include <string.h>
|
||||
|
||||
#ifndef UNIV_INNOCHECKSUM
|
||||
#ifdef UNIV_INNOCHECKSUM
|
||||
# include "buf0buf.h"
|
||||
#else
|
||||
#include "my_cpu.h"
|
||||
#include "mem0mem.h"
|
||||
#include "btr0btr.h"
|
||||
#include "fil0fil.h"
|
||||
#include "fil0crypt.h"
|
||||
#include "buf0rea.h"
|
||||
#include "buf0flu.h"
|
||||
#include "buf0buddy.h"
|
||||
#include "buf0dblwr.h"
|
||||
#include "lock0lock.h"
|
||||
|
@ -25,7 +25,7 @@ Created 2011/12/19
|
||||
*******************************************************/
|
||||
|
||||
#include "buf0dblwr.h"
|
||||
#include "buf0buf.h"
|
||||
#include "buf0flu.h"
|
||||
#include "buf0checksum.h"
|
||||
#include "srv0start.h"
|
||||
#include "srv0srv.h"
|
||||
|
@ -31,7 +31,7 @@ Created April 08, 2011 Vasil Dimov
|
||||
#include "mysql/psi/mysql_stage.h"
|
||||
#include "mysql/psi/psi.h"
|
||||
|
||||
#include "buf0buf.h"
|
||||
#include "buf0rea.h"
|
||||
#include "buf0dump.h"
|
||||
#include "dict0dict.h"
|
||||
#include "os0file.h"
|
||||
|
@ -24,13 +24,13 @@ Modified Jan Lindström jan.lindstrom@mariadb.com
|
||||
*******************************************************/
|
||||
|
||||
#include "fil0crypt.h"
|
||||
#include "mtr0types.h"
|
||||
#include "mach0data.h"
|
||||
#include "page0zip.h"
|
||||
#include "buf0checksum.h"
|
||||
#ifdef UNIV_INNOCHECKSUM
|
||||
# include "buf0buf.h"
|
||||
#else
|
||||
#include "buf0flu.h"
|
||||
#include "buf0dblwr.h"
|
||||
#include "srv0srv.h"
|
||||
#include "srv0start.h"
|
||||
|
@ -31,11 +31,7 @@ The database buffer buf_pool
|
||||
Created 11/5/1995 Heikki Tuuri
|
||||
*******************************************************/
|
||||
|
||||
#include "mtr0mtr.h"
|
||||
#include "buf0flu.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
|
||||
meaning that it is not in danger of getting evicted and also implying
|
||||
@ -141,4 +137,3 @@ buf_block_get_modify_clock(
|
||||
ut_ad(block->page.lock.have_any());
|
||||
return(block->modify_clock);
|
||||
}
|
||||
|
||||
|
@ -43,6 +43,7 @@ Created 1/8/1996 Heikki Tuuri
|
||||
#include "trx0types.h"
|
||||
#include "fts0fts.h"
|
||||
#include "buf0buf.h"
|
||||
#include "mtr0mtr.h"
|
||||
#include "gis0type.h"
|
||||
#include "fil0fil.h"
|
||||
#include "fil0crypt.h"
|
||||
|
@ -29,6 +29,7 @@ Created 2012-02-08 by Sunny Bains.
|
||||
#ifdef BTR_CUR_HASH_ADAPT
|
||||
# include "btr0sea.h"
|
||||
#endif
|
||||
#include "buf0flu.h"
|
||||
#include "que0que.h"
|
||||
#include "dict0boot.h"
|
||||
#include "dict0load.h"
|
||||
|
@ -31,6 +31,7 @@ Created 9/17/2000 Heikki Tuuri
|
||||
#include <spatial.h>
|
||||
|
||||
#include "row0mysql.h"
|
||||
#include "buf0flu.h"
|
||||
#include "btr0sea.h"
|
||||
#include "dict0boot.h"
|
||||
#include "dict0crea.h"
|
||||
|
@ -26,6 +26,7 @@ Created 2012-02-08 by Sunny Bains.
|
||||
|
||||
#include "row0quiesce.h"
|
||||
#include "row0mysql.h"
|
||||
#include "buf0flu.h"
|
||||
#include "ibuf0ibuf.h"
|
||||
#include "srv0start.h"
|
||||
#include "trx0purge.h"
|
||||
|
@ -25,7 +25,7 @@ Database monitor counter interfaces
|
||||
Created 12/9/2009 Jimmy Yang
|
||||
*******************************************************/
|
||||
|
||||
#include "buf0buf.h"
|
||||
#include "buf0flu.h"
|
||||
#include "dict0mem.h"
|
||||
#include "ibuf0ibuf.h"
|
||||
#include "lock0lock.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user