diff options
author | Alexander Barkov <bar@mariadb.org> | 2016-11-28 10:21:01 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2016-12-16 18:23:21 +0400 |
commit | 9185f8d4a72e7e2001c29bf1502ce7dd4e782e98 (patch) | |
tree | 742ac6196d4f291be78c19f84a0f73f46461d427 /INSTALL-WIN-SOURCE | |
parent | 749bbb3d7b213b5044d97006259f013d70007d60 (diff) | |
download | mariadb-git-9185f8d4a72e7e2001c29bf1502ce7dd4e782e98.tar.gz |
MDEV-11365 Split the data type and attribute related code in Item_sum_hybrid::fix_fields into Type_handler::Item_sum_hybrid_fix_length_and_dec()
This patch:
- Implements the task according to the description
- Adds a new class Type_handler_numeric as a common parent
for Type_handler_real_result, Type_handler_int_result,
Type_handler_decimal_result, to share the common code
between numeric data type handlers.
- Removes the dedundant call for collation.set(item->collation) in
Item_sum_hybrid::setup_hybrid(), because setup_hybrid() is called
either after fix_length_and_dec() or afte ther constructor
Item_sum_hybrid(THD *thd, Item_sum_hybrid *item),
so the collation is already properly set in all cases.
Diffstat (limited to 'INSTALL-WIN-SOURCE')
0 files changed, 0 insertions, 0 deletions