File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -1484,7 +1484,7 @@ class ha_partition :public handler
1484
1484
return h;
1485
1485
}
1486
1486
1487
- virtual ha_rows part_records (void *_part_elem)
1487
+ ha_rows part_records (void *_part_elem)
1488
1488
{
1489
1489
partition_element *part_elem= reinterpret_cast <partition_element *>(_part_elem);
1490
1490
DBUG_ASSERT (m_part_info);
@@ -1503,12 +1503,6 @@ class ha_partition :public handler
1503
1503
return part_recs;
1504
1504
}
1505
1505
1506
- virtual handler* part_handler (uint32 part_id)
1507
- {
1508
- DBUG_ASSERT (part_id < m_tot_parts);
1509
- return m_file[part_id];
1510
- }
1511
-
1512
1506
friend int cmp_key_rowid_part_id (void *ptr, uchar *ref1, uchar *ref2);
1513
1507
friend int cmp_key_part_id (void *key_p, uchar *ref1, uchar *ref2);
1514
1508
};
Original file line number Diff line number Diff line change @@ -4601,10 +4601,6 @@ class handler :public Sql_alloc
4601
4601
4602
4602
bool native_versioned () const
4603
4603
{ DBUG_ASSERT (ht); return partition_ht ()->flags & HTON_NATIVE_SYS_VERSIONING; }
4604
- virtual ha_rows part_records (void *_part_elem)
4605
- { DBUG_ASSERT (0 ); return false ; }
4606
- virtual handler* part_handler (uint32 part_id)
4607
- { DBUG_ASSERT (0 ); return NULL ; }
4608
4604
virtual void update_partition (uint part_id)
4609
4605
{}
4610
4606
protected:
You can’t perform that action at this time.
0 commit comments