mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Portability fixes
This commit is contained in:
@ -159,7 +159,7 @@ int mysql_ha_read(THD *thd, TABLE_LIST *tables,
|
||||
item->save_in_field(key_part->field);
|
||||
key_len+=key_part->store_length;
|
||||
}
|
||||
if (!(key=sql_calloc(ALIGN_SIZE(key_len))))
|
||||
if (!(key= (byte*) sql_calloc(ALIGN_SIZE(key_len))))
|
||||
{
|
||||
send_error(&thd->net,ER_OUTOFMEMORY);
|
||||
goto err;
|
||||
|
Reference in New Issue
Block a user