diff options
Diffstat (limited to 'sql/item_strfunc.cc')
-rw-r--r-- | sql/item_strfunc.cc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sql/item_strfunc.cc b/sql/item_strfunc.cc index 091de8e3a01..9f2da0f7fa1 100644 --- a/sql/item_strfunc.cc +++ b/sql/item_strfunc.cc @@ -47,19 +47,6 @@ static void my_coll_agg_error(DTCollation &c1, DTCollation &c2, fname); } -uint nr_of_decimals(const char *str) -{ - if (strchr(str,'e') || strchr(str,'E')) - return NOT_FIXED_DEC; - if ((str=strchr(str,'.'))) - { - const char *start= ++str; - for (; my_isdigit(system_charset_info,*str) ; str++) ; - return (uint) (str-start); - } - return 0; -} - double Item_str_func::val_real() { |