mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-18010 Add classes Inet4 and Inet6
This commit is contained in:
@ -119,16 +119,10 @@ public:
|
||||
:m_string_ptr(str)
|
||||
{ }
|
||||
String_ptr(Item *item, String *buffer);
|
||||
const String *string() const { return m_string_ptr; }
|
||||
const char *ptr() const
|
||||
const String *string() const
|
||||
{
|
||||
DBUG_ASSERT(m_string_ptr);
|
||||
return m_string_ptr->ptr();
|
||||
}
|
||||
uint32 length() const
|
||||
{
|
||||
DBUG_ASSERT(m_string_ptr);
|
||||
return m_string_ptr->length();
|
||||
return m_string_ptr;
|
||||
}
|
||||
bool is_null() const { return m_string_ptr == NULL; }
|
||||
};
|
||||
|
Reference in New Issue
Block a user