summaryrefslogtreecommitdiff
path: root/storage/innobase/include/row0log.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-03-18 15:07:01 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2021-03-18 15:07:01 +0200
commit190a8312f598fc4892331225104297f6288f23ac (patch)
treec5a8c8893bbaa40d72965288ae0a16bdeac81e50 /storage/innobase/include/row0log.h
parent5dbea46cfdc83f2455c7f4a43a4cc932192cfac6 (diff)
parent126725421e56293d7c8b816e066271606b59dcd5 (diff)
downloadmariadb-git-190a8312f598fc4892331225104297f6288f23ac.tar.gz
Merge 10.4 into 10.5
Diffstat (limited to 'storage/innobase/include/row0log.h')
-rw-r--r--storage/innobase/include/row0log.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/storage/innobase/include/row0log.h b/storage/innobase/include/row0log.h
index 5ec4b9c1103..88fce314bc5 100644
--- a/storage/innobase/include/row0log.h
+++ b/storage/innobase/include/row0log.h
@@ -1,7 +1,7 @@
/*****************************************************************************
Copyright (c) 2011, 2016, Oracle and/or its affiliates. All Rights Reserved.
-Copyright (c) 2017, 2020, MariaDB Corporation.
+Copyright (c) 2017, 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
@@ -247,6 +247,11 @@ row_log_apply(
ut_stage_alter_t* stage)
MY_ATTRIBUTE((warn_unused_result));
+/** Get the n_core_fields of online log for the index
+@param index index whose n_core_fields of log to be accessed
+@return number of n_core_fields */
+unsigned row_log_get_n_core_fields(const dict_index_t *index);
+
#ifdef HAVE_PSI_STAGE_INTERFACE
/** Estimate how much work is to be done by the log apply phase
of an ALTER TABLE for this index.