mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +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:
@ -2478,7 +2478,7 @@ store_val_in_field(Field *field,Item *item)
|
||||
THD *thd=current_thd;
|
||||
ulong cuted_fields=thd->cuted_fields;
|
||||
thd->count_cuted_fields=1;
|
||||
item->save_in_field(field);
|
||||
(void) item->save_in_field(field);
|
||||
thd->count_cuted_fields=0;
|
||||
return cuted_fields != thd->cuted_fields;
|
||||
}
|
||||
|
Reference in New Issue
Block a user