From 8c479820da2ef10438485864a65ceb3ac750c228 Mon Sep 17 00:00:00 2001 From: Alexander Barkov Date: Sun, 21 May 2017 09:28:12 +0400 Subject: MDEV-12856 Wrong .. metadata for DIV + MDEV-12857..errors on CREATE..SELECT..DIV This is a joint patch for: MDEV-12856 Wrong result set metadata for DIV MDEV-12857 Out-of-range errors on CREATE..SELECT 2222222222 DIV 1 --- sql/item_timefunc.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sql/item_timefunc.h') diff --git a/sql/item_timefunc.h b/sql/item_timefunc.h index d09a573aa2d..4890a2a7f08 100644 --- a/sql/item_timefunc.h +++ b/sql/item_timefunc.h @@ -1012,11 +1012,6 @@ class Item_extract :public Item_int_func } return true; } - Field *create_tmp_field(bool group, TABLE *table) - { return tmp_table_field_from_field_type(table); } - Field *create_field_for_create_select(TABLE *table) - { return tmp_table_field_from_field_type(table); } - Item *get_copy(THD *thd, MEM_ROOT *mem_root) { return get_item_copy(thd, mem_root, this); } }; -- cgit v1.2.1