summaryrefslogtreecommitdiff
path: root/storage/innobase/include/row0log.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-03-18 14:17:58 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2021-03-18 14:17:58 +0200
commit39c015b77e0b5adced487ef634f87b39b9b4abc0 (patch)
tree5f9b1580ff266b7754eec286d0a28abba095576d /storage/innobase/include/row0log.h
parent5511c21b41680a8c75f07a002a7362be7d157380 (diff)
parenteb7c5530eccb7d6782077e5562f5a471d2ccbc01 (diff)
downloadmariadb-git-39c015b77e0b5adced487ef634f87b39b9b4abc0.tar.gz
Merge 10.3 into 10.4
Diffstat (limited to 'storage/innobase/include/row0log.h')
-rw-r--r--storage/innobase/include/row0log.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/storage/innobase/include/row0log.h b/storage/innobase/include/row0log.h
index 5ec4b9c1103..93aa5c24230 100644
--- a/storage/innobase/include/row0log.h
+++ b/storage/innobase/include/row0log.h
@@ -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.