File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1066,7 +1066,7 @@ struct btrsea_sync_check : public sync_check_functor_t {
10661066 : m_result(), m_has_search_latch(has_search_latch) {}
10671067
10681068 /* * Destructor */
1069- virtual ~btrsea_sync_check () {}
1069+ ~btrsea_sync_check () override {}
10701070
10711071 /* * Called for every latch owned by the calling thread.
10721072 @param[in] level Level of the existing latch
@@ -1129,7 +1129,7 @@ struct dict_sync_check : public sync_check_functor_t {
11291129 : m_result(), m_dict_mutex_allowed(dict_mutex_allowed) {}
11301130
11311131 /* * Destructor */
1132- virtual ~dict_sync_check () {}
1132+ ~dict_sync_check () override {}
11331133
11341134 /* * Check the latching constraints
11351135 @param[in] level The level held by the thread */
Original file line number Diff line number Diff line change @@ -472,7 +472,8 @@ Parallel_reader::Scan_ctx::create_persistent_cursor(
472472}
473473
474474bool Parallel_reader::Ctx::move_to_next_node (PCursor *pcursor, mtr_t *mtr) {
475- page_cur_t *cur = m_range.first ->m_pcur ->get_page_cur ();
475+ page_cur_t *cur MY_ATTRIBUTE ((unused)) =
476+ m_range.first ->m_pcur ->get_page_cur ();
476477
477478 if (m_scan_ctx->m_config .m_read_ahead ) {
478479 page_no_t next_page_no = btr_page_get_next (page_cur_get_page (cur), mtr);
You can’t perform that action at this time.
0 commit comments