mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
5.5 merge
This commit is contained in:
@@ -30,7 +30,7 @@ HP_INFO *heap_open_from_share(HP_SHARE *share, int mode)
|
||||
HP_INFO *info;
|
||||
DBUG_ENTER("heap_open_from_share");
|
||||
|
||||
if (!(info= (HP_INFO*) my_malloc((uint) sizeof(HP_INFO) +
|
||||
if (!(info= (HP_INFO*) my_malloc(sizeof(HP_INFO) +
|
||||
2 * share->max_key_length,
|
||||
MYF(MY_ZEROFILL +
|
||||
(share->internal ?
|
||||
@@ -49,7 +49,7 @@ HP_INFO *heap_open_from_share(HP_SHARE *share, int mode)
|
||||
#ifndef DBUG_OFF
|
||||
info->opt_flag= READ_CHECK_USED; /* Check when changing */
|
||||
#endif
|
||||
DBUG_PRINT("exit",("heap: 0x%lx reclength: %d records_in_block: %d",
|
||||
DBUG_PRINT("exit",("heap: 0x%lx reclength: %d records_in_block: %lu",
|
||||
(long) info, share->reclength,
|
||||
share->block.records_in_block));
|
||||
DBUG_RETURN(info);
|
||||
|
Reference in New Issue
Block a user