Skip to content

Commit b71fef6

Browse files
committed
Merging mysql-8.0 to mysql-trunk
2 parents 3488fb3 + 415c4ae commit b71fef6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

storage/innobase/lob/lob0first.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,9 +303,11 @@ void first_page_t::free_all_data_pages() {
303303
node_loc = cur_entry.get_next();
304304
cur_entry.reset(nullptr);
305305

306+
ut_ad(!local_mtr.conflicts_with(m_mtr));
306307
restart_mtr(&local_mtr);
307308
}
308309

310+
ut_ad(!local_mtr.conflicts_with(m_mtr));
309311
mtr_commit(&local_mtr);
310312
}
311313

@@ -332,9 +334,11 @@ void first_page_t::free_all_index_pages() {
332334
set_next_page(next_page, &local_mtr);
333335
index_page.dealloc();
334336

337+
ut_ad(!local_mtr.conflicts_with(m_mtr));
335338
restart_mtr(&local_mtr);
336339
}
337340

341+
ut_ad(!local_mtr.conflicts_with(m_mtr));
338342
mtr_commit(&local_mtr);
339343
}
340344

0 commit comments

Comments
 (0)