diff options
author | Sergei Golubchik <serg@mariadb.org> | 2017-08-26 00:32:43 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-09-18 10:12:23 +0200 |
commit | 8b1f145c82d5afce40c8c2745aae2997501112e7 (patch) | |
tree | bb8c1ed6a017e99f81e9711080dbd2319210b261 /sql/item_strfunc.cc | |
parent | 3af191b7e1f5571683d09fe6cd96963b5cdb6ad4 (diff) | |
download | mariadb-git-8b1f145c82d5afce40c8c2745aae2997501112e7.tar.gz |
cleanup
Item_func_format::print() was redundant
and other changes
Diffstat (limited to 'sql/item_strfunc.cc')
-rw-r--r-- | sql/item_strfunc.cc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sql/item_strfunc.cc b/sql/item_strfunc.cc index a109737bc6e..02bfc98b293 100644 --- a/sql/item_strfunc.cc +++ b/sql/item_strfunc.cc @@ -2707,20 +2707,6 @@ String *Item_func_format::val_str_ascii(String *str) } -void Item_func_format::print(String *str, enum_query_type query_type) -{ - str->append(STRING_WITH_LEN("format(")); - args[0]->print(str, query_type); - str->append(','); - args[1]->print(str, query_type); - if(arg_count > 2) - { - str->append(','); - args[2]->print(str,query_type); - } - str->append(')'); -} - void Item_func_elt::fix_length_and_dec() { uint32 char_length= 0; |