mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Adding a necessary functionality to ::store and ::save_in_field
that will take place properly after pull from 4.0, in order to handle conversions from quoted constants to bigint's.
This commit is contained in:
@ -179,7 +179,7 @@ int mysql_ha_read(THD *thd, TABLE_LIST *tables,
|
||||
Item *item;
|
||||
for (key_len=0 ; (item=it_ke++) ; key_part++)
|
||||
{
|
||||
item->save_in_field(key_part->field);
|
||||
(void) item->save_in_field(key_part->field);
|
||||
key_len+=key_part->store_length;
|
||||
}
|
||||
if (!(key= (byte*) sql_calloc(ALIGN_SIZE(key_len))))
|
||||
|
Reference in New Issue
Block a user