mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Merge dator5.(none):/home/pappa/bug21357
into dator5.(none):/home/pappa/bug21388 sql/ha_partition.cc: Auto merged
This commit is contained in:
@@ -1343,9 +1343,9 @@ int ha_partition::change_partitions(HA_CREATE_INFO *create_info,
|
||||
ones used to be.
|
||||
*/
|
||||
first= FALSE;
|
||||
DBUG_ASSERT(i + m_reorged_parts <= m_file_tot_parts);
|
||||
DBUG_ASSERT(((i*no_subparts) + m_reorged_parts) <= m_file_tot_parts);
|
||||
memcpy((void*)m_reorged_file, &m_file[i*no_subparts],
|
||||
sizeof(handler*)*m_reorged_parts*no_subparts);
|
||||
sizeof(handler*)*m_reorged_parts);
|
||||
}
|
||||
} while (++i < no_parts);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user