mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-16910 Add class VDec
Adding classes VDec and VDec2_lazy, according to the task description. This patch removes around 250 duplicate code lines.
This commit is contained in:
@ -413,8 +413,8 @@ void Field::do_field_real(Copy_field *copy)
|
||||
|
||||
void Field::do_field_decimal(Copy_field *copy)
|
||||
{
|
||||
my_decimal value;
|
||||
copy->to_field->store_decimal(copy->from_field->val_decimal(&value));
|
||||
my_decimal value(copy->from_field);
|
||||
copy->to_field->store_decimal(&value);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user