mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-29355 Backport templatized INET6 implementation from 10.7 to 10.6
This commit is contained in:
@ -484,6 +484,11 @@ public:
|
||||
if (str.Alloced_length)
|
||||
Alloced_length= (uint32) (str.Alloced_length - offset);
|
||||
}
|
||||
LEX_CSTRING to_lex_cstring() const
|
||||
{
|
||||
LEX_CSTRING tmp= {Ptr, str_length};
|
||||
return tmp;
|
||||
}
|
||||
inline LEX_CSTRING *get_value(LEX_CSTRING *res)
|
||||
{
|
||||
res->str= Ptr;
|
||||
|
Reference in New Issue
Block a user