Commit 989f131d authored by unknown's avatar unknown

Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0


Docs/manual.texi:
  Auto merged
myisam/mi_write.c:
  Auto merged
sql/mysqld.cc:
  Auto merged
parents b5cfb7ac a2e0a48c
This diff is collapsed.
File mode changed from 100755 to 100644
......@@ -815,7 +815,7 @@ int _mi_init_bulk_insert(MI_INFO *info)
}
}
if (!num_keys)
if (num_keys==0 || num_keys>myisam_bulk_insert_tree_size)
return 0;
info->bulk_insert=(TREE *)
......
......@@ -2934,7 +2934,7 @@ CHANGEABLE_VAR changeable_vars[] = {
{ "max_write_lock_count", (long*) &max_write_lock_count,
~0L, 1, ~0L, 0, 1 },
{ "myisam_bulk_insert_tree_size", (long*) &myisam_bulk_insert_tree_size,
8192*1024, 4, ~0L, 0, 1 },
8192*1024, 0, ~0L, 0, 1 },
{ "myisam_block_size", (long*) &opt_myisam_block_size,
MI_KEY_BLOCK_LENGTH, MI_MIN_KEY_BLOCK_LENGTH, MI_MAX_KEY_BLOCK_LENGTH,
0, MI_MIN_KEY_BLOCK_LENGTH },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment