BtrBulk::table_name(): Return the table name while displaying

table name for fts diagnostics
parent 5a3151bc
......@@ -326,7 +326,7 @@ class BtrBulk
/** 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
......
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment