1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

after merge fixes

This commit is contained in:
serg@serg.mylan
2004-08-19 03:02:09 +02:00
parent e1237cbc53
commit 3f2210c064
19 changed files with 98 additions and 88 deletions

View File

@ -95,6 +95,14 @@ public:
Ptr[str_length]=0;
return Ptr;
}
inline char *c_ptr_safe()
{
if (Ptr && str_length < Alloced_length)
Ptr[str_length]=0;
else
(void) realloc(str_length);
return Ptr;
}
void set(String &str,uint32 offset,uint32 arg_length)
{