mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
MDEV-12271 Port MySQL 8.0 Bug#23150562 REMOVE UNIV_MUST_NOT_INLINE AND UNIV_NONINL
Also, remove empty .ic files that were not removed by my MySQL commit. Problem: InnoDB used to support a compilation mode that allowed to choose whether the function definitions in .ic files are to be inlined or not. This stopped making sense when InnoDB moved to C++ in MySQL 5.6 (and ha_innodb.cc started to #include .ic files), and more so in MySQL 5.7 when inline methods and functions were introduced in .h files. Solution: Remove all references to UNIV_NONINL and UNIV_MUST_NOT_INLINE from all files, assuming that the symbols are never defined. Remove the files fut0fut.cc and ut0byte.cc which only mattered when UNIV_NONINL was defined.
This commit is contained in:
committed by
Marko Mäkelä
parent
c63ca3d7f0
commit
4e1116b2c6
@@ -66,7 +66,7 @@ ENDMACRO()
|
||||
# FIXME until we have a --cxxflags, we need to remove -AC99
|
||||
# to make --cflags usable for HP C++ (aCC)
|
||||
REPLACE_FOR_CLIENTS(CFLAGS "[DU]DBUG_OFF" "[DU]SAFE_MUTEX" "[DU]NDEBUG"
|
||||
"[DU]UNIV_MUST_NOT_INLINE" "[DU]FORCE_INIT_OF_VARS" "[DU]EXTRA_DEBUG" "[DU]HAVE_valgrind"
|
||||
"[DU]FORCE_INIT_OF_VARS" "[DU]EXTRA_DEBUG" "[DU]HAVE_valgrind"
|
||||
"O" "O[0-9]" "xO[0-9]" "W[-A-Za-z]*" "mtune=[-A-Za-z0-9]*" "g" "fPIC"
|
||||
"mcpu=[-A-Za-z0-9]*" "unroll2" "ip" "mp" "march=[-A-Za-z0-9]*" "Xa"
|
||||
"xstrconst" "xc99=none" "AC99" "restrict" "W[-A-Za-z]*=[-A-Za-z0-9]*")
|
||||
|
||||
@@ -60,12 +60,6 @@ The parts not included are excluded by #ifndef UNIV_INNOCHECKSUM. */
|
||||
#include "ut0byte.h"
|
||||
#include "mach0data.h"
|
||||
|
||||
#ifdef UNIV_NONINL
|
||||
# include "fsp0fsp.ic"
|
||||
# include "mach0data.ic"
|
||||
# include "ut0rnd.ic"
|
||||
#endif
|
||||
|
||||
#ifndef PRIuMAX
|
||||
#define PRIuMAX "llu"
|
||||
#endif
|
||||
|
||||
@@ -71,7 +71,6 @@ SET(INNOBASE_SOURCES
|
||||
fsp/fsp0file.cc
|
||||
fsp/fsp0space.cc
|
||||
fsp/fsp0sysspace.cc
|
||||
fut/fut0fut.cc
|
||||
fut/fut0lst.cc
|
||||
ha/ha0ha.cc
|
||||
ha/ha0storage.cc
|
||||
@@ -155,7 +154,6 @@ SET(INNOBASE_SOURCES
|
||||
trx/trx0trx.cc
|
||||
trx/trx0undo.cc
|
||||
usr/usr0sess.cc
|
||||
ut/ut0byte.cc
|
||||
ut/ut0crc32.cc
|
||||
ut/ut0dbg.cc
|
||||
ut/ut0list.cc
|
||||
|
||||
@@ -28,10 +28,6 @@ Created 6/2/1994 Heikki Tuuri
|
||||
#include "btr0btr.h"
|
||||
#include "ha_prototypes.h"
|
||||
|
||||
#ifdef UNIV_NONINL
|
||||
#include "btr0btr.ic"
|
||||
#endif
|
||||
|
||||
#include "fsp0sysspace.h"
|
||||
#include "page0page.h"
|
||||
#include "page0zip.h"
|
||||
|
||||
@@ -44,11 +44,6 @@ Created 10/16/1994 Heikki Tuuri
|
||||
*******************************************************/
|
||||
|
||||
#include "btr0cur.h"
|
||||
|
||||
#ifdef UNIV_NONINL
|
||||
#include "btr0cur.ic"
|
||||
#endif
|
||||
|
||||
#include "row0upd.h"
|
||||
#include "mtr0log.h"
|
||||
#include "page0page.h"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1996, 2015, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 1996, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 2016, 2017, MariaDB Corporation.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
@@ -25,11 +25,6 @@ Created 2/23/1996 Heikki Tuuri
|
||||
*******************************************************/
|
||||
|
||||
#include "btr0pcur.h"
|
||||
|
||||
#ifdef UNIV_NONINL
|
||||
#include "btr0pcur.ic"
|
||||
#endif
|
||||
|
||||
#include "ut0byte.h"
|
||||
#include "rem0cmp.h"
|
||||
#include "trx0trx.h"
|
||||
|
||||
@@ -33,10 +33,6 @@ Created 2/17/1996 Heikki Tuuri
|
||||
|
||||
#include "btr0sea.h"
|
||||
#ifdef BTR_CUR_HASH_ADAPT
|
||||
#ifdef UNIV_NONINL
|
||||
#include "btr0sea.ic"
|
||||
#endif /* UNIV_NOINL */
|
||||
|
||||
#include "buf0buf.h"
|
||||
#include "page0page.h"
|
||||
#include "page0cur.h"
|
||||
|
||||
@@ -24,9 +24,6 @@ Created December 2006 by Marko Makela
|
||||
*******************************************************/
|
||||
|
||||
#include "buf0buddy.h"
|
||||
#ifdef UNIV_NONINL
|
||||
# include "buf0buddy.ic"
|
||||
#endif
|
||||
#include "buf0buf.h"
|
||||
#include "buf0lru.h"
|
||||
#include "buf0flu.h"
|
||||
|
||||
@@ -37,9 +37,6 @@ Created 11/5/1995 Heikki Tuuri
|
||||
#include "buf0buf.h"
|
||||
#include "os0api.h"
|
||||
|
||||
#ifdef UNIV_NONINL
|
||||
#include "buf0buf.ic"
|
||||
#endif
|
||||
#ifdef UNIV_INNOCHECKSUM
|
||||
#include "string.h"
|
||||
#include "mach0data.h"
|
||||
|
||||
@@ -26,11 +26,6 @@ Created 2011/12/19
|
||||
|
||||
#include "ha_prototypes.h"
|
||||
#include "buf0dblwr.h"
|
||||
|
||||
#ifdef UNIV_NONINL
|
||||
#include "buf0buf.ic"
|
||||
#endif
|
||||
|
||||
#include "buf0buf.h"
|
||||
#include "buf0checksum.h"
|
||||
#include "srv0start.h"
|
||||
|
||||
@@ -30,11 +30,6 @@ Created 11/11/1995 Heikki Tuuri
|
||||
#include <my_dbug.h>
|
||||
|
||||
#include "buf0flu.h"
|
||||
|
||||
#ifdef UNIV_NONINL
|
||||
#include "buf0flu.ic"
|
||||
#endif
|
||||
|
||||
#include "buf0buf.h"
|
||||
#include "buf0mtflu.h"
|
||||
#include "buf0checksum.h"
|
||||
|
||||
@@ -24,10 +24,6 @@ Created 11/5/1995 Heikki Tuuri
|
||||
*******************************************************/
|
||||
|
||||
#include "buf0lru.h"
|
||||
#ifdef UNIV_NONINL
|
||||
#include "buf0lru.ic"
|
||||
#endif /* UNIV_NOINL */
|
||||
|
||||
#include "ut0byte.h"
|
||||
#include "ut0rnd.h"
|
||||
#include "sync0rw.h"
|
||||
|
||||
@@ -27,11 +27,6 @@ Created 5/30/1994 Heikki Tuuri
|
||||
#include "ha_prototypes.h"
|
||||
|
||||
#include "data0data.h"
|
||||
|
||||
#ifdef UNIV_NONINL
|
||||
#include "data0data.ic"
|
||||
#endif
|
||||
|
||||
#include "rem0rec.h"
|
||||
#include "rem0cmp.h"
|
||||
#include "page0page.h"
|
||||
|
||||
@@ -28,10 +28,6 @@ Created 1/16/1996 Heikki Tuuri
|
||||
|
||||
#include "data0type.h"
|
||||
|
||||
#ifdef UNIV_NONINL
|
||||
#include "data0type.ic"
|
||||
#endif
|
||||
|
||||
/* At the database startup we store the default-charset collation number of
|
||||
this MySQL installation to this global variable. If we have < 4.1.2 format
|
||||
column definitions, or records in the insert buffer, we use this
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1996, 2015, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 1996, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 2016, MariaDB Corporation.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
@@ -27,11 +27,6 @@ Created 4/18/1996 Heikki Tuuri
|
||||
#include "ha_prototypes.h"
|
||||
|
||||
#include "dict0boot.h"
|
||||
|
||||
#ifdef UNIV_NONINL
|
||||
#include "dict0boot.ic"
|
||||
#endif
|
||||
|
||||
#include "dict0crea.h"
|
||||
#include "btr0btr.h"
|
||||
#include "dict0load.h"
|
||||
|
||||
@@ -26,11 +26,6 @@ Created 1/8/1996 Heikki Tuuri
|
||||
#include "ha_prototypes.h"
|
||||
|
||||
#include "dict0crea.h"
|
||||
|
||||
#ifdef UNIV_NONINL
|
||||
#include "dict0crea.ic"
|
||||
#endif
|
||||
|
||||
#include "btr0pcur.h"
|
||||
#include "btr0btr.h"
|
||||
#include "page0page.h"
|
||||
|
||||
@@ -31,10 +31,6 @@ Created 25/08/2016 Jan Lindström
|
||||
#include "srv0start.h"
|
||||
#include "ut0new.h"
|
||||
|
||||
#ifdef UNIV_NONINL
|
||||
# include "dict0stats_bg.ic"
|
||||
#endif
|
||||
|
||||
#include <vector>
|
||||
|
||||
static ib_mutex_t defrag_pool_mutex;
|
||||
|
||||
@@ -37,11 +37,6 @@ Created 1/8/1996 Heikki Tuuri
|
||||
#include "fil0fil.h"
|
||||
#include <algorithm>
|
||||
|
||||
#ifdef UNIV_NONINL
|
||||
#include "dict0dict.ic"
|
||||
#include "dict0priv.ic"
|
||||
#endif
|
||||
|
||||
/** dummy index for ROW_FORMAT=REDUNDANT supremum and infimum records */
|
||||
dict_index_t* dict_ind_redundant;
|
||||
|
||||
|
||||
@@ -28,9 +28,6 @@ Created 4/24/1996 Heikki Tuuri
|
||||
#include "ha_prototypes.h"
|
||||
|
||||
#include "dict0load.h"
|
||||
#ifdef UNIV_NONINL
|
||||
#include "dict0load.ic"
|
||||
#endif
|
||||
|
||||
#include "mysql_version.h"
|
||||
#include "btr0pcur.h"
|
||||
|
||||
@@ -29,11 +29,6 @@ Created 1/8/1996 Heikki Tuuri
|
||||
#include <mysql_com.h>
|
||||
|
||||
#include "dict0mem.h"
|
||||
|
||||
#ifdef UNIV_NONINL
|
||||
#include "dict0mem.ic"
|
||||
#endif
|
||||
|
||||
#include "rem0rec.h"
|
||||
#include "data0type.h"
|
||||
#include "mach0data.h"
|
||||
|
||||
@@ -32,10 +32,6 @@ Created Apr 25, 2012 Vasil Dimov
|
||||
#include "srv0start.h"
|
||||
#include "ut0new.h"
|
||||
|
||||
#ifdef UNIV_NONINL
|
||||
# include "dict0stats_bg.ic"
|
||||
#endif
|
||||
|
||||
#include <vector>
|
||||
|
||||
/** Minimum time interval between stats recalc for a given table */
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1997, 2014, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 1997, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
@@ -25,11 +25,6 @@ Created 12/29/1997 Heikki Tuuri
|
||||
*******************************************************/
|
||||
|
||||
#include "eval0eval.h"
|
||||
|
||||
#ifdef UNIV_NONINL
|
||||
#include "eval0eval.ic"
|
||||
#endif
|
||||
|
||||
#include "data0data.h"
|
||||
#include "row0sel.h"
|
||||
#include "rem0cmp.h"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1998, 2014, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 1998, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
@@ -25,10 +25,6 @@ Created 1/20/1998 Heikki Tuuri
|
||||
|
||||
#include "eval0proc.h"
|
||||
|
||||
#ifdef UNIV_NONINL
|
||||
#include "eval0proc.ic"
|
||||
#endif
|
||||
|
||||
/**********************************************************************//**
|
||||
Performs an execution step of an if-statement node.
|
||||
@return query thread to run next or NULL */
|
||||
|
||||
@@ -27,11 +27,6 @@ Created 11/29/1995 Heikki Tuuri
|
||||
#include "ha_prototypes.h"
|
||||
|
||||
#include "fsp0fsp.h"
|
||||
|
||||
#ifdef UNIV_NONINL
|
||||
#include "fsp0fsp.ic"
|
||||
#endif
|
||||
|
||||
#include "buf0buf.h"
|
||||
#include "fil0fil.h"
|
||||
#include "fil0crypt.h"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 2007, 2014, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 2007, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
@@ -28,11 +28,6 @@ Created 2007/5/9 Sunny Bains
|
||||
|
||||
#include "fts0priv.h"
|
||||
|
||||
#ifdef UNIV_NONINL
|
||||
#include "fts0types.ic"
|
||||
#include "fts0vlc.ic"
|
||||
#endif
|
||||
|
||||
/******************************************************************//**
|
||||
Callback function for fetching the config value.
|
||||
@return always returns TRUE */
|
||||
|
||||
@@ -38,11 +38,6 @@ Completed 2011/7/10 Sunny and Jimmy Yang
|
||||
#include "ut0list.h"
|
||||
#include "zlib.h"
|
||||
|
||||
#ifdef UNIV_NONINL
|
||||
#include "fts0types.ic"
|
||||
#include "fts0vlc.ic"
|
||||
#endif
|
||||
|
||||
/** The FTS optimize thread's work queue. */
|
||||
static ib_wqueue_t* fts_optimize_wq;
|
||||
|
||||
|
||||
@@ -37,11 +37,6 @@ Completed 2011/7/10 Sunny and Jimmy Yang
|
||||
#include "fts0plugin.h"
|
||||
#include "ut0new.h"
|
||||
|
||||
#ifdef UNIV_NONINL
|
||||
#include "fts0types.ic"
|
||||
#include "fts0vlc.ic"
|
||||
#endif
|
||||
|
||||
#include <iomanip>
|
||||
#include <vector>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 2007, 2014, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 2007, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
@@ -30,11 +30,6 @@ Created 2007-03-27 Sunny Bains
|
||||
#include "fts0types.h"
|
||||
#include "fts0priv.h"
|
||||
|
||||
#ifdef UNIV_NONINL
|
||||
#include "fts0types.ic"
|
||||
#include "fts0vlc.ic"
|
||||
#endif
|
||||
|
||||
/** SQL statements for creating the ancillary FTS tables. */
|
||||
|
||||
/** Preamble to all SQL statements. */
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1995, 2011, Oracle and/or its affiliates. All Rights Reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
Foundation; version 2 of the License.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
|
||||
|
||||
*****************************************************************************/
|
||||
|
||||
/******************************************************************//**
|
||||
@file fut/fut0fut.cc
|
||||
File-based utilities
|
||||
|
||||
Created 12/13/1995 Heikki Tuuri
|
||||
***********************************************************************/
|
||||
|
||||
#include "fut0fut.h"
|
||||
|
||||
#ifdef UNIV_NONINL
|
||||
#include "fut0fut.ic"
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1995, 2014, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 1995, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
@@ -23,13 +23,7 @@ File-based list utilities
|
||||
Created 11/28/1995 Heikki Tuuri
|
||||
***********************************************************************/
|
||||
|
||||
#include "univ.i"
|
||||
#include "fut0lst.h"
|
||||
|
||||
#ifdef UNIV_NONINL
|
||||
#include "fut0lst.ic"
|
||||
#endif
|
||||
|
||||
#include "buf0buf.h"
|
||||
#include "page0page.h"
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1994, 2015, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 1994, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
@@ -24,9 +24,6 @@ Created 8/22/1994 Heikki Tuuri
|
||||
*************************************************************************/
|
||||
|
||||
#include "ha0ha.h"
|
||||
#ifdef UNIV_NONINL
|
||||
#include "ha0ha.ic"
|
||||
#endif
|
||||
|
||||
#ifdef UNIV_DEBUG
|
||||
# include "buf0buf.h"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 2007, 2015, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 2007, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
@@ -31,10 +31,6 @@ Created September 22, 2007 Vasil Dimov
|
||||
#include "mem0mem.h"
|
||||
#include "ut0rnd.h"
|
||||
|
||||
#ifdef UNIV_NONINL
|
||||
#include "ha0storage.ic"
|
||||
#endif
|
||||
|
||||
/*******************************************************************//**
|
||||
Retrieves a data from a storage. If it is present, a pointer to the
|
||||
stored copy of data is returned, otherwise NULL is returned. */
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1997, 2015, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 1997, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
@@ -24,11 +24,6 @@ Created 5/20/1997 Heikki Tuuri
|
||||
*******************************************************/
|
||||
|
||||
#include "hash0hash.h"
|
||||
|
||||
#ifdef UNIV_NONINL
|
||||
#include "hash0hash.ic"
|
||||
#endif /* UNIV_NOINL */
|
||||
|
||||
#include "mem0mem.h"
|
||||
#include "sync0sync.h"
|
||||
|
||||
|
||||
@@ -42,10 +42,6 @@ my_bool srv_ibuf_disable_background_merge;
|
||||
/** The start address for an insert buffer bitmap page bitmap */
|
||||
#define IBUF_BITMAP PAGE_DATA
|
||||
|
||||
#ifdef UNIV_NONINL
|
||||
#include "ibuf0ibuf.ic"
|
||||
#endif
|
||||
|
||||
#include "buf0buf.h"
|
||||
#include "buf0rea.h"
|
||||
#include "fsp0fsp.h"
|
||||
|
||||
@@ -823,9 +823,7 @@ btr_lift_page_up(
|
||||
#define BTR_N_LEAF_PAGES 1
|
||||
#define BTR_TOTAL_SIZE 2
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "btr0btr.ic"
|
||||
#endif
|
||||
|
||||
/****************************************************************
|
||||
Global variable controlling if scrubbing should be performed */
|
||||
|
||||
@@ -997,8 +997,6 @@ extern ulint btr_cur_n_sea_old;
|
||||
extern uint btr_cur_limit_optimistic_insert_debug;
|
||||
#endif /* UNIV_DEBUG */
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "btr0cur.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -548,8 +548,6 @@ struct btr_pcur_t{
|
||||
dict_index_t* index() const { return(btr_cur.index); }
|
||||
};
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "btr0pcur.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -373,8 +373,6 @@ again set this much timeout. This is to reduce contention. */
|
||||
#define BTR_SEA_TIMEOUT 10000
|
||||
#endif /* BTR_CUR_HASH_ADAPT */
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "btr0sea.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -88,8 +88,6 @@ void
|
||||
buf_buddy_condense_free(
|
||||
buf_pool_t* buf_pool);
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
# include "buf0buddy.ic"
|
||||
#endif
|
||||
#include "buf0buddy.ic"
|
||||
|
||||
#endif /* buf0buddy_h */
|
||||
|
||||
@@ -2508,9 +2508,8 @@ struct CheckUnzipLRUAndLRUList {
|
||||
};
|
||||
#endif /* UNIV_DEBUG || defined UNIV_BUF_DEBUG */
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "buf0buf.ic"
|
||||
#endif
|
||||
|
||||
#endif /* !UNIV_INNOCHECKSUM */
|
||||
|
||||
#endif
|
||||
|
||||
@@ -485,8 +485,6 @@ buf_flush_batch(
|
||||
counts */
|
||||
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "buf0flu.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1995, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 2017, MariaDB Corporation.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
@@ -287,8 +288,4 @@ Increments the I/O counter in buf_LRU_stat_cur. */
|
||||
Increments the page_zip_decompress() counter in buf_LRU_stat_cur. */
|
||||
#define buf_LRU_stat_inc_unzip() buf_LRU_stat_cur.unzip++
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "buf0lru.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1995, 2009, Oracle and/or its affiliates. All Rights Reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
Foundation; version 2 of the License.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
|
||||
|
||||
*****************************************************************************/
|
||||
|
||||
/**************************************************//**
|
||||
@file include/buf0lru.ic
|
||||
The database buffer replacement algorithm
|
||||
|
||||
Created 11/5/1995 Heikki Tuuri
|
||||
*******************************************************/
|
||||
|
||||
@@ -684,8 +684,6 @@ struct big_rec_t {
|
||||
ulint n_fld);
|
||||
};
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "data0data.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1996, 2015, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 1996, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 2017, MariaDB Corporation.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
@@ -576,8 +576,6 @@ struct dtype_t{
|
||||
mbmaxlen=DATA_MBMINLEN(mbminmaxlen) */
|
||||
};
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "data0type.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -353,8 +353,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
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "dict0boot.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -383,8 +383,6 @@ dict_get_v_col_pos(
|
||||
#define INDEX_CREATE_INDEX_TREE 3
|
||||
#define INDEX_ADD_TO_CACHE 4
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "dict0crea.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -2063,8 +2063,6 @@ bool
|
||||
dict_table_have_virtual_index(
|
||||
dict_table_t* table);
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "dict0dict.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -430,8 +430,4 @@ dict_replace_tablespace_and_filepath(
|
||||
const char* filepath,
|
||||
ulint fsp_flags);
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "dict0load.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1996, 2009, Oracle and/or its affiliates. All Rights Reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
Foundation; version 2 of the License.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
|
||||
|
||||
*****************************************************************************/
|
||||
|
||||
/**************************************************//**
|
||||
@file include/dict0load.ic
|
||||
Loads to the memory cache database object definitions
|
||||
from dictionary tables
|
||||
|
||||
Created 4/24/1996 Heikki Tuuri
|
||||
*******************************************************/
|
||||
|
||||
@@ -1870,8 +1870,6 @@ dict_col_get_spatial_status(
|
||||
return(spatial_status);
|
||||
}
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "dict0mem.ic"
|
||||
#endif
|
||||
|
||||
#endif /* dict0mem_h */
|
||||
|
||||
@@ -56,8 +56,6 @@ dict_table_page_compression_level(
|
||||
const dict_table_t* table) /*!< in: table */
|
||||
__attribute__((const));
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "dict0pagecompress.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 2010, 2013, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 2010, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
@@ -59,8 +59,6 @@ dict_table_open_on_id_low(
|
||||
when loading the table */
|
||||
ibool open_only_if_in_cache);
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "dict0priv.ic"
|
||||
#endif
|
||||
|
||||
#endif /* dict0priv.h */
|
||||
|
||||
@@ -263,9 +263,7 @@ dict_stats_save_index_stat(
|
||||
const char* stat_description,
|
||||
trx_t* trx);
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "dict0stats.ic"
|
||||
#endif
|
||||
|
||||
#ifdef UNIV_ENABLE_UNIT_TEST_DICT_STATS
|
||||
void test_dict_stats_all();
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 2012, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 2017, MariaDB Corporation. All Rights Reserved.
|
||||
Copyright (c) 2017, MariaDB Corporation.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
@@ -83,7 +83,17 @@ bool
|
||||
dict_stats_stop_bg(
|
||||
/*===============*/
|
||||
dict_table_t* table) /*!< in/out: table */
|
||||
MY_ATTRIBUTE((warn_unused_result));
|
||||
{
|
||||
ut_ad(!srv_read_only_mode);
|
||||
ut_ad(mutex_own(&dict_sys->mutex));
|
||||
|
||||
if (!(table->stats_bg_flag & BG_STAT_IN_PROGRESS)) {
|
||||
return(true);
|
||||
}
|
||||
|
||||
table->stats_bg_flag |= BG_STAT_SHOULD_QUIT;
|
||||
return(false);
|
||||
}
|
||||
|
||||
/*****************************************************************//**
|
||||
Wait until background stats thread has stopped using the specified table.
|
||||
@@ -145,8 +155,4 @@ DECLARE_THREAD(dict_stats_thread)(
|
||||
void
|
||||
dict_stats_shutdown();
|
||||
|
||||
# ifndef UNIV_NONINL
|
||||
# include "dict0stats_bg.ic"
|
||||
# endif
|
||||
|
||||
#endif /* dict0stats_bg_h */
|
||||
|
||||
@@ -1,45 +0,0 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 2012, 2013, Oracle and/or its affiliates. All Rights Reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
Foundation; version 2 of the License.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
|
||||
|
||||
*****************************************************************************/
|
||||
|
||||
/**************************************************//**
|
||||
@file include/dict0stats_bg.ic
|
||||
Code used for background table and index stats gathering.
|
||||
|
||||
Created Feb 8, 2013 Marko Makela
|
||||
*******************************************************/
|
||||
|
||||
/*****************************************************************//**
|
||||
Request the background collection of statistics to stop for a table.
|
||||
@retval true when no background process is active
|
||||
@retval false when it is not safe to modify the table definition */
|
||||
UNIV_INLINE
|
||||
bool
|
||||
dict_stats_stop_bg(
|
||||
/*===============*/
|
||||
dict_table_t* table) /*!< in/out: table */
|
||||
{
|
||||
ut_ad(!srv_read_only_mode);
|
||||
ut_ad(mutex_own(&dict_sys->mutex));
|
||||
|
||||
if (!(table->stats_bg_flag & BG_STAT_IN_PROGRESS)) {
|
||||
return(true);
|
||||
}
|
||||
|
||||
table->stats_bg_flag |= BG_STAT_SHOULD_QUIT;
|
||||
return(false);
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1997, 2014, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 1997, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
@@ -105,8 +105,6 @@ eval_cmp(
|
||||
func_node_t* cmp_node); /*!< in: comparison node */
|
||||
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "eval0eval.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1998, 2014, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 1998, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
@@ -90,9 +90,6 @@ return_step(
|
||||
/*========*/
|
||||
que_thr_t* thr); /*!< in: query thread */
|
||||
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "eval0proc.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -533,8 +533,6 @@ fil_crypt_calculate_checksum(
|
||||
byte* dst_frame) /*!< in: page where to calculate */
|
||||
__attribute__((warn_unused_result));
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "fil0crypt.ic"
|
||||
#endif
|
||||
|
||||
#endif /* fil0crypt_h */
|
||||
|
||||
@@ -1591,12 +1591,7 @@ fil_decr_pending_ops(
|
||||
/*=================*/
|
||||
ulint id); /*!< in: space id */
|
||||
|
||||
#include "fil0fil.ic"
|
||||
#endif /* UNIV_INNOCHECKSUM */
|
||||
|
||||
#ifndef UNIV_INNOCHECKSUM
|
||||
#ifndef UNIV_NONINL
|
||||
#include "fil0fil.ic"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif /* fil0fil_h */
|
||||
|
||||
@@ -869,8 +869,6 @@ fsp_page_is_free_func(
|
||||
|
||||
#endif /* UNIV_INNOCHECKSUM */
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "fsp0fsp.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -59,8 +59,6 @@ fsp_flags_get_page_compression_level(
|
||||
/*=================================*/
|
||||
ulint flags); /*!< in: tablespace flags */
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "fsp0pagecompress.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -639,8 +639,6 @@ fts_config_create_index_param_name(
|
||||
const dict_index_t* index) /*!< in: index for config */
|
||||
MY_ATTRIBUTE((warn_unused_result));
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "fts0priv.ic"
|
||||
#endif
|
||||
|
||||
#endif /* INNOBASE_FTS0PRIV_H */
|
||||
|
||||
@@ -399,9 +399,7 @@ fts_select_index(
|
||||
const byte* str,
|
||||
ulint len);
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "fts0types.ic"
|
||||
#include "fts0vlc.ic"
|
||||
#endif
|
||||
|
||||
#endif /* INNOBASE_FTS0TYPES_H */
|
||||
|
||||
@@ -52,8 +52,6 @@ fut_get_ptr(
|
||||
buf_block_t** ptr_block = NULL)
|
||||
MY_ATTRIBUTE((warn_unused_result));
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "fut0fut.ic"
|
||||
#endif
|
||||
|
||||
#endif /* fut0fut_h */
|
||||
|
||||
@@ -177,9 +177,7 @@ flst_print(
|
||||
mtr_t* mtr); /*!< in: mtr */
|
||||
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "fut0lst.ic"
|
||||
#endif
|
||||
|
||||
#endif /* !UNIV_INNOCHECKSUM */
|
||||
|
||||
|
||||
@@ -584,7 +584,5 @@ rtr_estimate_n_rows_in_range(
|
||||
const dtuple_t* tuple,
|
||||
page_cur_mode_t mode);
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "gis0rtree.ic"
|
||||
#endif
|
||||
#endif /*!< gis0rtree.h */
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1994, 2015, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 1994, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
@@ -244,9 +244,6 @@ hash_assert_can_search(
|
||||
#define hash_assert_can_search(t, f)
|
||||
#endif /* UNIV_DEBUG */
|
||||
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "ha0ha.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 2007, 2014, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 2007, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
@@ -132,8 +132,6 @@ ha_storage_get_size(
|
||||
/*================*/
|
||||
const ha_storage_t* storage); /*!< in: hash storage */
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "ha0storage.ic"
|
||||
#endif
|
||||
|
||||
#endif /* ha0storage_h */
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1997, 2015, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 1997, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
@@ -572,8 +572,6 @@ struct hash_table_t {
|
||||
#endif /* UNIV_DEBUG */
|
||||
};
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "hash0hash.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -450,8 +450,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)
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "ibuf0ibuf.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1172,8 +1172,6 @@ lock_update_split_and_merge(
|
||||
|
||||
#endif /* WITH_WSREP */
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "lock0lock.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1170,8 +1170,6 @@ lock_table_has(
|
||||
const dict_table_t* table, /*!< in: table */
|
||||
enum lock_mode mode); /*!< in: lock mode */
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "lock0priv.ic"
|
||||
#endif
|
||||
|
||||
#endif /* lock0priv_h */
|
||||
|
||||
@@ -814,8 +814,6 @@ extern os_event_t log_scrub_event;
|
||||
/** Whether log_scrub_thread is active */
|
||||
extern bool log_scrub_thread_active;
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "log0log.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -375,8 +375,6 @@ mach_read_ulint(
|
||||
|
||||
#endif /* !UNIV_INNOCHECKSUM */
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "mach0data.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -411,9 +411,7 @@ struct mem_block_info_t {
|
||||
#define MEM_BLOCK_HEADER_SIZE ut_calc_align(sizeof(mem_block_info_t),\
|
||||
UNIV_MEM_ALIGNMENT)
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "mem0mem.ic"
|
||||
#endif
|
||||
|
||||
/** A C++ wrapper class to the mem_heap_t routines, so that it can be used
|
||||
as an STL allocator */
|
||||
|
||||
@@ -243,8 +243,6 @@ mlog_parse_index(
|
||||
extra mlog buffer size for variable size data */
|
||||
#define MLOG_BUF_MARGIN 256
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "mtr0log.ic"
|
||||
#endif /* UNIV_NOINL */
|
||||
|
||||
#endif /* mtr0log_h */
|
||||
|
||||
@@ -612,8 +612,6 @@ private:
|
||||
bool m_sync;
|
||||
};
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "mtr0mtr.ic"
|
||||
#endif /* UNIV_NOINL */
|
||||
|
||||
#endif /* mtr0mtr_h */
|
||||
|
||||
@@ -1606,8 +1606,6 @@ os_file_get_block_size(
|
||||
os_file_t file, /*!< in: handle to a file */
|
||||
const char* name); /*!< in: file name */
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "os0file.ic"
|
||||
#endif /* UNIV_NONINL */
|
||||
|
||||
#endif /* os0file_h */
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1995, 2014, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 1995, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 2017, MariaDB Corporation.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
@@ -67,8 +68,4 @@ os_mem_free_large(
|
||||
void *ptr,
|
||||
ulint size);
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "os0proc.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1995, 2009, Oracle and/or its affiliates. All Rights Reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
Foundation; version 2 of the License.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
|
||||
|
||||
*****************************************************************************/
|
||||
|
||||
/**************************************************//**
|
||||
@file include/os0proc.ic
|
||||
The interface to the operating system
|
||||
process control primitives
|
||||
|
||||
Created 9/30/1995 Heikki Tuuri
|
||||
*******************************************************/
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1995, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 2017, MariaDB Corporation.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
@@ -159,8 +160,4 @@ bool
|
||||
os_thread_active();
|
||||
/*==============*/
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "os0thread.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1995, 2009, Oracle and/or its affiliates. All Rights Reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
Foundation; version 2 of the License.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
|
||||
|
||||
*****************************************************************************/
|
||||
|
||||
/**************************************************//**
|
||||
@file include/os0thread.ic
|
||||
The interface to the operating system
|
||||
process and thread control primitives
|
||||
|
||||
Created 9/8/1995 Heikki Tuuri
|
||||
*******************************************************/
|
||||
@@ -387,8 +387,6 @@ struct page_cur_t{
|
||||
buf_block_t* block; /*!< pointer to the block containing rec */
|
||||
};
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "page0cur.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1193,9 +1193,7 @@ page_warn_strict_checksum(
|
||||
|
||||
#endif /* !UNIV_INNOCHECKSUM */
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "page0page.ic"
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -564,9 +564,7 @@ page_zip_reset_stat_per_index();
|
||||
# define UNIV_INLINE UNIV_INLINE_ORIGINAL
|
||||
#endif
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
# include "page0zip.ic"
|
||||
#endif
|
||||
#include "page0zip.ic"
|
||||
#endif /* !UNIV_INNOCHECKSUM */
|
||||
|
||||
#endif /* page0zip_h */
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1997, 2014, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 1997, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 2017, MariaDB Corporation.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
@@ -67,8 +68,4 @@ opt_print_query_plan(
|
||||
sel_node_t* sel_node); /*!< in: select node */
|
||||
#endif /* UNIV_SQL_DEBUG */
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "pars0opt.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1997, 2009, Oracle and/or its affiliates. All Rights Reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
Foundation; version 2 of the License.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
|
||||
|
||||
*****************************************************************************/
|
||||
|
||||
/**************************************************//**
|
||||
@file include/pars0opt.ic
|
||||
Simple SQL optimizer
|
||||
|
||||
Created 12/21/1997 Heikki Tuuri
|
||||
*******************************************************/
|
||||
@@ -1,6 +1,7 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1996, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 2017, MariaDB Corporation.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
@@ -753,8 +754,4 @@ struct col_assign_node_t{
|
||||
e.g., := */
|
||||
/* @} */
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "pars0pars.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1996, 2009, Oracle and/or its affiliates. All Rights Reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
Foundation; version 2 of the License.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
|
||||
|
||||
*****************************************************************************/
|
||||
|
||||
/**************************************************//**
|
||||
@file include/pars0pars.ic
|
||||
SQL parser
|
||||
|
||||
Created 11/19/1996 Heikki Tuuri
|
||||
*******************************************************/
|
||||
@@ -1,6 +1,7 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1997, 2014, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 1997, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 2017, MariaDB Corporation.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
@@ -242,8 +243,4 @@ struct sym_tab_t{
|
||||
allocate space */
|
||||
};
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "pars0sym.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1997, 2009, Oracle and/or its affiliates. All Rights Reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
Foundation; version 2 of the License.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
|
||||
|
||||
*****************************************************************************/
|
||||
|
||||
/**************************************************//**
|
||||
@file include/pars0sym.ic
|
||||
SQL parser symbol table
|
||||
|
||||
Created 12/15/1997 Heikki Tuuri
|
||||
*******************************************************/
|
||||
@@ -1,6 +1,6 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1996, 2015, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 1996, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 2017, MariaDB Corporation.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
@@ -499,8 +499,6 @@ struct que_fork_t{
|
||||
#define QUE_NODE_CALL 31
|
||||
#define QUE_NODE_EXIT 32
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "que0que.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -250,8 +250,6 @@ cmp_dfield_dfield_like_prefix(
|
||||
const dfield_t* dfield1,
|
||||
const dfield_t* dfield2);
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "rem0cmp.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1120,8 +1120,6 @@ int wsrep_rec_get_foreign_key(
|
||||
ibool new_protocol); /* in: protocol > 1 */
|
||||
#endif /* WITH_WSREP */
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "rem0rec.ic"
|
||||
#endif
|
||||
|
||||
#endif /* rem0rec_h */
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 2006, 2014, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 2006, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
@@ -98,8 +98,6 @@ struct row_ext_t{
|
||||
ulint len[1]; /*!< prefix lengths; 0 if not cached */
|
||||
};
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "row0ext.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 2012, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 2017, MariaDB Corporation.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
@@ -80,8 +81,5 @@ row_import_update_index_root(
|
||||
caller already owns the
|
||||
dict_sys_t:: mutex. */
|
||||
MY_ATTRIBUTE((nonnull, warn_unused_result));
|
||||
#ifndef UNIV_NONINL
|
||||
#include "row0import.ic"
|
||||
#endif
|
||||
|
||||
#endif /* row0import_h */
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 2012, Oracle and/or its affiliates. All Rights Reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
Foundation; version 2 of the License.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
|
||||
|
||||
*****************************************************************************/
|
||||
|
||||
/**************************************************//**
|
||||
@file include/row0import.ic
|
||||
|
||||
Import tablespace inline functions.
|
||||
|
||||
Created 2012-02-08 Sunny Bains
|
||||
*******************************************************/
|
||||
@@ -253,8 +253,4 @@ struct ins_node_t{
|
||||
#define INS_NODE_INSERT_ENTRIES 3 /* index entries should be built and
|
||||
inserted */
|
||||
|
||||
#ifndef UNIV_NONINL
|
||||
#include "row0ins.ic"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1996, 2009, Oracle and/or its affiliates. All Rights Reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
Foundation; version 2 of the License.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
|
||||
|
||||
*****************************************************************************/
|
||||
|
||||
/**************************************************//**
|
||||
@file include/row0ins.ic
|
||||
Insert into a table
|
||||
|
||||
Created 4/20/1996 Heikki Tuuri
|
||||
*******************************************************/
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user