mirror of
https://github.com/MariaDB/server.git
synced 2026-05-04 06:05:32 +02:00
Updated/added copyright headers
This commit is contained in:
commit
027b5f1ed4
475 changed files with 9854 additions and 6483 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue