Updated/added copyright headers

This commit is contained in:
Kent Boortz 2011-07-03 17:47:37 +02:00
commit 027b5f1ed4
475 changed files with 9854 additions and 6483 deletions

View file

@ -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;