summaryrefslogtreecommitdiff
path: root/myisam/mi_write.c
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-12-06 02:36:19 +0200
committermonty@hundin.mysql.fi <>2001-12-06 02:36:19 +0200
commitb4da2fb0ab60caad614ed5ba3705367d7004ab22 (patch)
tree68e73082b59a24a1c78bca5bfbc5ae2d522517e1 /myisam/mi_write.c
parent5c94a164225593586ae0fe5229917a0e8a283250 (diff)
parent00ae775a80c376e1d82130a99c0be545f55cc420 (diff)
downloadmariadb-git-b4da2fb0ab60caad614ed5ba3705367d7004ab22.tar.gz
Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
Diffstat (limited to 'myisam/mi_write.c')
-rw-r--r--myisam/mi_write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/mi_write.c b/myisam/mi_write.c
index 1dd4820bc03..d4a17ebf19b 100644
--- a/myisam/mi_write.c
+++ b/myisam/mi_write.c
@@ -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 *)