mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
merging.
This commit is contained in:
@ -4266,8 +4266,12 @@ int ha_partition::index_read_idx_map(uchar *buf, uint index,
|
||||
|
||||
get_partition_set(table, buf, index, &m_start_key, &m_part_spec);
|
||||
|
||||
/* How can it be more than one partition with the current use? */
|
||||
DBUG_ASSERT(m_part_spec.start_part == m_part_spec.end_part);
|
||||
/*
|
||||
We have either found exactly 1 partition
|
||||
(in which case start_part == end_part)
|
||||
or no matching partitions (start_part > end_part)
|
||||
*/
|
||||
DBUG_ASSERT(m_part_spec.start_part >= m_part_spec.end_part);
|
||||
|
||||
for (part= m_part_spec.start_part; part <= m_part_spec.end_part; part++)
|
||||
{
|
||||
|
Reference in New Issue
Block a user