mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 10:31:54 +01:00
Merge bk@192.168.21.1:mysql-5.1-opt
into mysql.com:/home/hf/work/26527/my51-26527 sql/ha_partition.cc: Auto merged
This commit is contained in:
commit
9d87e8f86a
1 changed files with 1 additions and 6 deletions
|
@ -2914,12 +2914,7 @@ void ha_partition::start_bulk_insert(ha_rows rows)
|
||||||
handler **file;
|
handler **file;
|
||||||
DBUG_ENTER("ha_partition::start_bulk_insert");
|
DBUG_ENTER("ha_partition::start_bulk_insert");
|
||||||
|
|
||||||
if (!rows)
|
rows= rows ? rows/m_tot_parts + 1 : 0;
|
||||||
{
|
|
||||||
/* Avoid allocation big caches in all underlaying handlers */
|
|
||||||
DBUG_VOID_RETURN;
|
|
||||||
}
|
|
||||||
rows= rows/m_tot_parts + 1;
|
|
||||||
file= m_file;
|
file= m_file;
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue