1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-07 03:22:57 +03:00

MCOL-4810 Add support for missed operation for longStrings.

This commit is contained in:
Denis Khalikov
2021-10-14 10:50:37 +03:00
parent 07f2e59d65
commit 6393c6d019
3 changed files with 34 additions and 1 deletions

View File

@@ -471,6 +471,13 @@ protected:
void doCopy(const ByteStream& rhs);
private:
// Put struct `MemChunk` declaration here, to avoid circular dependency.
struct MemChunk
{
uint32_t currentSize;
uint32_t capacity;
uint8_t data[];
};
uint8_t* fBuf; ///the start of the allocated buffer
uint8_t* fCurInPtr; //the point in fBuf where data is inserted next