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 {
1066
1066
: m_result(), m_has_search_latch(has_search_latch) {}
1067
1067
1068
1068
/* * Destructor */
1069
- virtual ~btrsea_sync_check () {}
1069
+ ~btrsea_sync_check () override {}
1070
1070
1071
1071
/* * Called for every latch owned by the calling thread.
1072
1072
@param[in] level Level of the existing latch
@@ -1129,7 +1129,7 @@ struct dict_sync_check : public sync_check_functor_t {
1129
1129
: m_result(), m_dict_mutex_allowed(dict_mutex_allowed) {}
1130
1130
1131
1131
/* * Destructor */
1132
- virtual ~dict_sync_check () {}
1132
+ ~dict_sync_check () override {}
1133
1133
1134
1134
/* * Check the latching constraints
1135
1135
@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(
472
472
}
473
473
474
474
bool 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 ();
476
477
477
478
if (m_scan_ctx->m_config .m_read_ahead ) {
478
479
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