MDEV-27494 Rename .ic files to .inl

This commit is contained in:
Vladislav Vaintroub 2022-01-13 17:27:28 +01:00
parent 746050d02d
commit 47e18af906
160 changed files with 152 additions and 152 deletions

2
.gitattributes vendored
View file

@ -30,6 +30,6 @@ pcre/testdata/greppatN4 -text
*.c diff=cpp
*.h diff=cpp
*.cc diff=cpp
*.ic diff=cpp
*.inl diff=cpp
*.cpp diff=cpp
*.java diff=cpp

View file

@ -73,9 +73,9 @@ typedef void fil_space_t;
#include <string.h>
#ifdef UNIV_NONINL
# include "fsp0fsp.ic"
# include "mach0data.ic"
# include "ut0rnd.ic"
# include "fsp0fsp.inl"
# include "mach0data.inl"
# include "ut0rnd.inl"
#endif
#ifndef PRIuMAX

View file

@ -15,4 +15,4 @@
#define NUM 1
#include "my_sha.ic"
#include "my_sha.inl"

View file

@ -15,4 +15,4 @@
#define NUM 224
#include "my_sha.ic"
#include "my_sha.inl"

View file

@ -15,4 +15,4 @@
#define NUM 256
#include "my_sha.ic"
#include "my_sha.inl"

View file

@ -15,4 +15,4 @@
#define NUM 384
#include "my_sha.ic"
#include "my_sha.inl"

View file

@ -15,4 +15,4 @@
#define NUM 512
#include "my_sha.ic"
#include "my_sha.inl"

View file

@ -215,7 +215,7 @@ static struct
/* support for Services */
#include "sql_plugin_services.ic"
#include "sql_plugin_services.inl"
/*
A mutex LOCK_plugin must be acquired before accessing the

View file

@ -34,7 +34,7 @@
#include "sql_plugin.h" // Includes my_global.h
#include "sql_priv.h"
#include "sql_class.h" // set_var.h: THD
#include "sys_vars.ic"
#include "sys_vars.inl"
#include "events.h"
#include <thr_alarm.h>

View file

@ -38,7 +38,7 @@ Created 11/5/1995 Heikki Tuuri
#include <string.h>
#ifdef UNIV_NONINL
#include "buf0buf.ic"
#include "buf0buf.inl"
#endif
#ifndef UNIV_INNOCHECKSUM

View file

@ -31,7 +31,7 @@ Full Text Search interface
#include "fts0fts.h"
#include "fts0priv.h"
#include "fts0types.h"
#include "fts0types.ic"
#include "fts0types.inl"
#include "fts0vlc.h"
#include "fts0plugin.h"
#include "dict0priv.h"

View file

@ -768,7 +768,7 @@ btr_lift_page_up(
#define BTR_N_LEAF_PAGES 1
#define BTR_TOTAL_SIZE 2
#include "btr0btr.ic"
#include "btr0btr.inl"
/****************************************************************
Global variable controlling if scrubbing should be performed */

View file

@ -1034,6 +1034,6 @@ extern ulint btr_cur_n_sea_old;
extern uint btr_cur_limit_optimistic_insert_debug;
#endif /* UNIV_DEBUG */
#include "btr0cur.ic"
#include "btr0cur.inl"
#endif

View file

@ -550,6 +550,6 @@ struct btr_pcur_t{
dict_index_t* index() const { return(btr_cur.index); }
};
#include "btr0pcur.ic"
#include "btr0pcur.inl"
#endif

View file

@ -332,6 +332,6 @@ again set this much timeout. This is to reduce contention. */
#define BTR_SEA_TIMEOUT 10000
#endif /* BTR_CUR_HASH_ADAPT */
#include "btr0sea.ic"
#include "btr0sea.inl"
#endif

View file

@ -87,6 +87,6 @@ void
buf_buddy_condense_free(
buf_pool_t* buf_pool);
#include "buf0buddy.ic"
#include "buf0buddy.inl"
#endif /* buf0buddy_h */

View file

@ -2408,7 +2408,7 @@ struct CheckUnzipLRUAndLRUList {
};
#endif /* UNIV_DEBUG || defined UNIV_BUF_DEBUG */
#include "buf0buf.ic"
#include "buf0buf.inl"
#endif /* !UNIV_INNOCHECKSUM */

View file

@ -453,6 +453,6 @@ buf_flush_batch(
counts */
#include "buf0flu.ic"
#include "buf0flu.inl"
#endif

View file

@ -637,6 +637,6 @@ struct big_rec_t {
ulint n_fld);
};
#include "data0data.ic"
#include "data0data.inl"
#endif

View file

@ -531,6 +531,6 @@ struct dtype_t{
in bytes */
};
#include "data0type.ic"
#include "data0type.inl"
#endif

View file

@ -350,6 +350,6 @@ two) is assigned, the field DICT_HDR_ROW_ID on the dictionary header page is
updated */
#define DICT_HDR_ROW_ID_WRITE_MARGIN 256
#include "dict0boot.ic"
#include "dict0boot.inl"
#endif

View file

@ -358,6 +358,6 @@ dict_get_v_col_pos(
#define INDEX_CREATE_INDEX_TREE 3
#define INDEX_ADD_TO_CACHE 4
#include "dict0crea.ic"
#include "dict0crea.inl"
#endif

View file

@ -1912,6 +1912,6 @@ bool
dict_table_have_virtual_index(
dict_table_t* table);
#include "dict0dict.ic"
#include "dict0dict.inl"
#endif

View file

@ -2042,6 +2042,6 @@ inline void dict_stats_empty_defrag_stats(dict_index_t* index)
index->stat_defrag_n_page_split = 0;
}
#include "dict0mem.ic"
#include "dict0mem.inl"
#endif /* dict0mem_h */

View file

@ -56,6 +56,6 @@ dict_table_page_compression_level(
const dict_table_t* table) /*!< in: table */
__attribute__((const));
#include "dict0pagecompress.ic"
#include "dict0pagecompress.inl"
#endif

View file

@ -57,6 +57,6 @@ dict_table_open_on_id_low(
when loading the table */
ibool open_only_if_in_cache);
#include "dict0priv.ic"
#include "dict0priv.inl"
#endif /* dict0priv.h */

View file

@ -221,7 +221,7 @@ dberr_t
dict_stats_report_error(dict_table_t* table, bool defragment = false)
MY_ATTRIBUTE((nonnull, warn_unused_result));
#include "dict0stats.ic"
#include "dict0stats.inl"
#ifdef UNIV_ENABLE_UNIT_TEST_DICT_STATS
void test_dict_stats_all();

View file

@ -104,6 +104,6 @@ eval_cmp(
func_node_t* cmp_node); /*!< in: comparison node */
#include "eval0eval.ic"
#include "eval0eval.inl"
#endif

View file

@ -89,6 +89,6 @@ return_step(
/*========*/
que_thr_t* thr); /*!< in: query thread */
#include "eval0proc.ic"
#include "eval0proc.inl"
#endif

View file

@ -479,7 +479,7 @@ fil_space_get_scrub_status(
const fil_space_t* space,
fil_space_scrub_status_t* status);
#include "fil0crypt.ic"
#include "fil0crypt.inl"
#endif /* !UNIV_INNOCHECKSUM */
/**

View file

@ -1469,7 +1469,7 @@ UNIV_INTERN
ulint
fil_space_get_block_size(const fil_space_t* space, unsigned offset);
#include "fil0fil.ic"
#include "fil0fil.inl"
#endif /* UNIV_INNOCHECKSUM */
#endif /* fil0fil_h */

View file

@ -861,6 +861,6 @@ xdes_calc_descriptor_page(
#endif /* UNIV_INNOCHECKSUM */
#include "fsp0fsp.ic"
#include "fsp0fsp.inl"
#endif

View file

@ -59,6 +59,6 @@ fsp_flags_get_page_compression_level(
/*=================================*/
ulint flags); /*!< in: tablespace flags */
#include "fsp0pagecompress.ic"
#include "fsp0pagecompress.inl"
#endif

View file

@ -512,6 +512,6 @@ fts_config_create_index_param_name(
const dict_index_t* index) /*!< in: index for config */
MY_ATTRIBUTE((nonnull, malloc, warn_unused_result));
#include "fts0priv.ic"
#include "fts0priv.inl"
#endif /* INNOBASE_FTS0PRIV_H */

View file

@ -351,6 +351,6 @@ fts_select_index(
const byte* str,
ulint len);
#include "fts0types.ic"
#include "fts0types.inl"
#endif /* INNOBASE_FTS0TYPES_H */

View file

@ -50,6 +50,6 @@ fut_get_ptr(
buf_block_t** ptr_block = NULL)
MY_ATTRIBUTE((warn_unused_result));
#include "fut0fut.ic"
#include "fut0fut.inl"
#endif /* fut0fut_h */

View file

@ -149,7 +149,7 @@ flst_validate(
const flst_base_node_t* base, /*!< in: pointer to base node of list */
mtr_t* mtr1); /*!< in: mtr */
#include "fut0lst.ic"
#include "fut0lst.inl"
#endif /* !UNIV_INNOCHECKSUM */

View file

@ -517,5 +517,5 @@ rtr_estimate_n_rows_in_range(
const dtuple_t* tuple,
page_cur_mode_t mode);
#include "gis0rtree.ic"
#include "gis0rtree.inl"
#endif /*!< gis0rtree.h */

View file

@ -236,6 +236,6 @@ hash_assert_can_search(
#define hash_assert_can_search(t, f)
#endif /* UNIV_DEBUG */
#include "ha0ha.ic"
#include "ha0ha.inl"
#endif

View file

@ -132,6 +132,6 @@ ha_storage_get_size(
/*================*/
const ha_storage_t* storage); /*!< in: hash storage */
#include "ha0storage.ic"
#include "ha0storage.inl"
#endif /* ha0storage_h */

View file

@ -520,6 +520,6 @@ struct hash_table_t {
#endif /* UNIV_DEBUG */
};
#include "hash0hash.ic"
#include "hash0hash.inl"
#endif

View file

@ -443,6 +443,6 @@ for the file segment from which the pages for the ibuf tree are allocated */
/* The insert buffer tree itself is always located in space 0. */
#define IBUF_SPACE_ID static_cast<ulint>(0)
#include "ibuf0ibuf.ic"
#include "ibuf0ibuf.inl"
#endif

View file

@ -1048,6 +1048,6 @@ lock_get_info(
#endif /* WITH_WSREP */
#include "lock0lock.ic"
#include "lock0lock.inl"
#endif

View file

@ -685,6 +685,6 @@ inline void lock_reset_lock_and_trx_wait(lock_t* lock)
lock->type_mode &= ~LOCK_WAIT;
}
#include "lock0priv.ic"
#include "lock0priv.inl"
#endif /* lock0priv_h */

View file

@ -778,6 +778,6 @@ extern os_event_t log_scrub_event;
/** Whether log_scrub_thread is active */
extern bool log_scrub_thread_active;
#include "log0log.ic"
#include "log0log.inl"
#endif

View file

@ -401,6 +401,6 @@ mach_read_ulint(
mlog_id_t type)
MY_ATTRIBUTE((warn_unused_result));
#include "mach0data.ic"
#include "mach0data.inl"
#endif

View file

@ -339,5 +339,5 @@ struct mem_block_info_t {
#define MEM_BLOCK_HEADER_SIZE UT_CALC_ALIGN(sizeof(mem_block_info_t),\
UNIV_MEM_ALIGNMENT)
#include "mem0mem.ic"
#include "mem0mem.inl"
#endif

View file

@ -242,6 +242,6 @@ mlog_parse_index(
extra mlog buffer size for variable size data */
#define MLOG_BUF_MARGIN 256
#include "mtr0log.ic"
#include "mtr0log.inl"
#endif /* mtr0log_h */

View file

@ -504,6 +504,6 @@ private:
lsn_t m_commit_lsn;
};
#include "mtr0mtr.ic"
#include "mtr0mtr.inl"
#endif /* mtr0mtr_h */

View file

@ -1675,6 +1675,6 @@ os_file_get_block_size(
os_file_t file, /*!< in: handle to a file */
const char* name); /*!< in: file name */
#include "os0file.ic"
#include "os0file.inl"
#endif /* os0file_h */

View file

@ -400,6 +400,6 @@ struct page_cur_t{
buf_block_t* block; /*!< pointer to the block containing rec */
};
#include "page0cur.ic"
#include "page0cur.inl"
#endif

View file

@ -1251,7 +1251,7 @@ page_find_rec_max_not_deleted(
#endif /* !UNIV_INNOCHECKSUM */
#include "page0page.ic"
#include "page0page.inl"
#endif

View file

@ -547,7 +547,7 @@ page_zip_reset_stat_per_index();
# define UNIV_INLINE UNIV_INLINE_ORIGINAL
#endif
#include "page0zip.ic"
#include "page0zip.inl"
#endif /* !UNIV_INNOCHECKSUM */
#endif /* page0zip_h */

View file

@ -449,6 +449,6 @@ struct que_fork_t{
/* Flag which is ORed to control structure statement node types */
#define QUE_NODE_CONTROL_STAT 1024
#include "que0que.ic"
#include "que0que.inl"
#endif

Some files were not shown because too many files have changed in this diff Show more