mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge moonlight.home:/home/tomash/src/mysql_ab/mysql-4.0-bug23443
into moonlight.home:/home/tomash/src/mysql_ab/mysql-4.1-bug23443 heap/hp_block.c: Auto merged sql/item_func.cc: Auto merged heap/hp_write.c: Manual merge.
This commit is contained in:
@ -76,7 +76,7 @@ int hp_get_new_block(HP_BLOCK *block, ulong *alloc_length)
|
||||
and my_default_record_cache_size we get about 1/128 unused memory.
|
||||
*/
|
||||
*alloc_length=sizeof(HP_PTRS)*i+block->records_in_block* block->recbuffer;
|
||||
if (!(root=(HP_PTRS*) my_malloc(*alloc_length,MYF(0))))
|
||||
if (!(root=(HP_PTRS*) my_malloc(*alloc_length,MYF(MY_WME))))
|
||||
return 1;
|
||||
|
||||
if (i == 0)
|
||||
|
Reference in New Issue
Block a user