mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
cleanup of ha_myisam::deactivate_non_unique_index() and Co.
This commit is contained in:
@ -916,8 +916,8 @@ int mi_init_bulk_insert(MI_INFO *info, ulong cache_size, ha_rows rows)
|
||||
DBUG_ENTER("_mi_init_bulk_insert");
|
||||
DBUG_PRINT("enter",("cache_size: %lu", cache_size));
|
||||
|
||||
if (info->bulk_insert || (rows && rows < MI_MIN_ROWS_TO_USE_BULK_INSERT))
|
||||
DBUG_RETURN(0);
|
||||
DBUG_ASSERT(!info->bulk_insert &&
|
||||
(!rows || rows >= MI_MIN_ROWS_TO_USE_BULK_INSERT));
|
||||
|
||||
for (i=total_keylength=num_keys=0 ; i < share->base.keys ; i++)
|
||||
{
|
||||
|
Reference in New Issue
Block a user