1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Moving implementation of INET_ATON() INET_NTOA() into

separate files item_inetfunc.h and item_inetfunc.cc.
This commit is contained in:
Alexander Barkov
2014-05-30 15:24:25 +04:00
parent 69742e4ee3
commit 1449d1d54f
9 changed files with 186 additions and 123 deletions

View File

@@ -880,21 +880,6 @@ class Item_func_export_set: public Item_str_func
const char *func_name() const { return "export_set"; }
};
class Item_func_inet_ntoa : public Item_str_func
{
public:
Item_func_inet_ntoa(Item *a) :Item_str_func(a)
{
}
String* val_str(String* str);
const char *func_name() const { return "inet_ntoa"; }
void fix_length_and_dec()
{
decimals= 0;
fix_length_and_charset(3 * 8 + 7, default_charset());
maybe_null= 1;
}
};
class Item_func_quote :public Item_str_func
{