Merge pull request #27397 from taosdata/fix/TD-31597

fix(tdb/btree): use unsigned type for memcpy
This commit is contained in:
Hongze Cheng 2024-08-22 16:37:37 +08:00 committed by GitHub
commit adfa742ac6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1133,7 +1133,7 @@ static int tdbBtreeEncodePayload(SPage *pPage, SCell *pCell, int nHeader, const
memcpy(pCell + nLocal - sizeof(pgno), &pgno, sizeof(pgno));
int lastKeyPageSpace = 0;
size_t lastKeyPageSpace = 0;
// pack left key & val to ovpages
do {
// cal key to cpy