diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2021-03-26 11:50:32 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2021-03-26 11:50:32 +0200 |
commit | 356c149603285086d964c8a51107be97b981c15c (patch) | |
tree | 932c4199fcd51bcda3052d6fbbfba7877a385330 /storage/innobase/include | |
parent | e9e1890162c2f75e399229f08dd9924d55d9655b (diff) | |
parent | 2e67b9f665875928605880661fc5aa1a15175f53 (diff) | |
download | mariadb-git-356c149603285086d964c8a51107be97b981c15c.tar.gz |
Merge 10.5 into 10.6
Diffstat (limited to 'storage/innobase/include')
-rw-r--r-- | storage/innobase/include/dict0crea.h | 2 | ||||
-rw-r--r-- | storage/innobase/include/dict0dict.h | 8 | ||||
-rw-r--r-- | storage/innobase/include/fil0fil.h | 2 | ||||
-rw-r--r-- | storage/innobase/include/srv0mon.h | 6 |
4 files changed, 6 insertions, 12 deletions
diff --git a/storage/innobase/include/dict0crea.h b/storage/innobase/include/dict0crea.h index 72108614f14..9f8e5442e52 100644 --- a/storage/innobase/include/dict0crea.h +++ b/storage/innobase/include/dict0crea.h @@ -101,7 +101,7 @@ dict_create_index_tree( @param[in,out] trx dictionary transaction @param[in,out] mtr mini-transaction */ void dict_drop_index_tree(btr_pcur_t* pcur, trx_t* trx, mtr_t* mtr) - MY_ATTRIBUTE((nonnull)); + MY_ATTRIBUTE((nonnull(1,3))); /***************************************************************//** Creates an index tree for the index if it is not a member of a cluster. diff --git a/storage/innobase/include/dict0dict.h b/storage/innobase/include/dict0dict.h index 024a8652a12..02ed956b039 100644 --- a/storage/innobase/include/dict0dict.h +++ b/storage/innobase/include/dict0dict.h @@ -2,7 +2,7 @@ Copyright (c) 1996, 2018, Oracle and/or its affiliates. All Rights Reserved. Copyright (c) 2012, Facebook Inc. -Copyright (c) 2013, 2020, MariaDB Corporation. +Copyright (c) 2013, 2021, 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 @@ -153,12 +153,6 @@ dict_table_open_on_id(table_id_t table_id, bool dict_locked, MDL_ticket **mdl= nullptr) MY_ATTRIBUTE((warn_unused_result)); -/**********************************************************************//** -Returns a table object based on table id. -@return table, NULL if does not exist */ -dict_table_t* dict_table_open_on_index_id(index_id_t index_id) - __attribute__((warn_unused_result)); - /** Decrements the count of open handles of a table. @param[in,out] table table @param[in] dict_locked data dictionary locked diff --git a/storage/innobase/include/fil0fil.h b/storage/innobase/include/fil0fil.h index c9539aeff0c..d0be38f0468 100644 --- a/storage/innobase/include/fil0fil.h +++ b/storage/innobase/include/fil0fil.h @@ -1591,7 +1591,7 @@ void fil_close_tablespace(ulint id); /*******************************************************************//** Allocates and builds a file name from a path, a table or tablespace name and a suffix. The string must be freed by caller with ut_free(). -@param[in] path NULL or the direcory path or the full path and filename. +@param[in] path NULL or the directory path or the full path and filename. @param[in] name NULL if path is full, or Table/Tablespace name @param[in] suffix NULL or the file extention to use. @return own: file name */ diff --git a/storage/innobase/include/srv0mon.h b/storage/innobase/include/srv0mon.h index ae5aa6af7b0..569898cdd78 100644 --- a/storage/innobase/include/srv0mon.h +++ b/storage/innobase/include/srv0mon.h @@ -620,14 +620,14 @@ Use MONITOR_DEC if appropriate mutex protection exists. } \ } -#ifdef HAVE_valgrind +#ifdef HAVE_MEM_CHECK # define MONITOR_CHECK_DEFINED(value) do { \ mon_type_t m = value; \ MEM_CHECK_DEFINED(&m, sizeof m); \ } while (0) -#else /* HAVE_valgrind */ +#else /* HAVE_MEM_CHECK */ # define MONITOR_CHECK_DEFINED(value) (void) 0 -#endif /* HAVE_valgrind */ +#endif /* HAVE_MEM_CHECK */ #define MONITOR_INC_VALUE(monitor, value) \ MONITOR_CHECK_DEFINED(value); \ |