summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--storage/innobase/include/btr0bulk.h2
-rw-r--r--storage/innobase/row/row0ftsort.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/storage/innobase/include/btr0bulk.h b/storage/innobase/include/btr0bulk.h
index 6687d29593a..911a2726422 100644
--- a/storage/innobase/include/btr0bulk.h
+++ b/storage/innobase/include/btr0bulk.h
@@ -326,7 +326,7 @@ public:
/** Re-latch all latches */
void latch();
- dict_index_t* index() { return m_index; }
+ table_name_t table_name() { return m_index->table->name; }
private:
/** Insert a tuple to a page in a level
diff --git a/storage/innobase/row/row0ftsort.cc b/storage/innobase/row/row0ftsort.cc
index 39b31c153ad..2ca930e0934 100644
--- a/storage/innobase/row/row0ftsort.cc
+++ b/storage/innobase/row/row0ftsort.cc
@@ -1221,7 +1221,7 @@ row_merge_write_fts_word(
if (UNIV_UNLIKELY(error != DB_SUCCESS)) {
ib::error() << "Failed to write word to FTS auxiliary"
" index table "
- << ins_ctx->btr_bulk->index()->table->name
+ << ins_ctx->btr_bulk->table_name()
<< ", error " << error;
ret = error;
}