diff --git a/storage/innobase/ddl/ddl0builder.cc b/storage/innobase/ddl/ddl0builder.cc index af9fd0c32f5..c963f1dc183 100644 --- a/storage/innobase/ddl/ddl0builder.cc +++ b/storage/innobase/ddl/ddl0builder.cc @@ -2081,10 +2081,6 @@ dberr_t Builder::finish() noexcept { } else if (m_ctx.m_old_table != m_ctx.m_new_table) { ut_a(!m_index->online_log); ut_a(m_index->online_status == ONLINE_INDEX_COMPLETE); - - auto observer = m_ctx.m_trx->flush_observer; - observer->flush(); - } else { err = finalize();