From d43df4a33ae38d29ca7a471c98368b2ab562b50e Mon Sep 17 00:00:00 2001 From: Alexey Botchkov Date: Tue, 23 Jun 2015 15:06:23 +0500 Subject: [PATCH] These functions can never return NULL. --- sql/item_geofunc.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/sql/item_geofunc.h b/sql/item_geofunc.h index 17556c9dec9..52713995c4f 100644 --- a/sql/item_geofunc.h +++ b/sql/item_geofunc.h @@ -425,7 +425,6 @@ public: Item_func_issimple(Item *a): Item_bool_func(a) {} longlong val_int(); const char *func_name() const { return "st_issimple"; } - void fix_length_and_dec() { maybe_null= 1; } }; class Item_func_isclosed: public Item_bool_func @@ -434,7 +433,6 @@ public: Item_func_isclosed(Item *a): Item_bool_func(a) {} longlong val_int(); const char *func_name() const { return "st_isclosed"; } - void fix_length_and_dec() { maybe_null= 1; } }; class Item_func_isring: public Item_func_issimple