mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
WL1371 - Cleanup configuration handling
WL1356 - Discless db node WL1357 - sp 1-2
This commit is contained in:
@ -63,6 +63,15 @@ public:
|
||||
return 0;
|
||||
};
|
||||
|
||||
void * append(size_t l){
|
||||
if(grow(len+l) != 0)
|
||||
return 0;
|
||||
|
||||
void * ret = (char*)data+len;
|
||||
len += l;
|
||||
return ret;
|
||||
}
|
||||
|
||||
int assign(const void * d, size_t l) {
|
||||
if (data) free(data);
|
||||
data = NULL;
|
||||
|
Reference in New Issue
Block a user