Re: [Maria-developers] Rev 3177: Fixed bug mdev-4063 (bug #56927)

21 Jan
2013
21 Jan
'13
4 p.m.
Hi, Igor! On Jan 21, Igor Babaev wrote:
Looks ok. Just one thought. You use merge_many_buff() if the memory is not enough for the number_of_buffpeks*size. But merge_many_buff() only reduces the number of buffpeks down to 15. What if max_heap_table_size < 15*size ? I'd suggest to either 1) issue an error or 2) merge completely, like in Unique::get(). Actually, 2) should be easy, you just pass the last argument to your new Unique::merge() instead of TRUE, like in your patch, change to merge( ..., max_in_memory_size > MERGEBUFF2*size); Regards, Sergei
4450
Age (days ago)
4450
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sergei Golubchik