mirror of
https://github.com/MariaDB/server.git
synced 2025-07-24 19:42:23 +03:00
Updated/added copyright headers
This commit is contained in:
@ -108,6 +108,9 @@ public:
|
||||
inline const char *ptr() const { return Ptr; }
|
||||
inline char *c_ptr()
|
||||
{
|
||||
DBUG_ASSERT(!alloced || !Ptr || !Alloced_length ||
|
||||
(Alloced_length >= (str_length + 1)));
|
||||
|
||||
if (!Ptr || Ptr[str_length]) /* Should be safe */
|
||||
(void) realloc(str_length);
|
||||
return Ptr;
|
||||
|
Reference in New Issue
Block a user