Merge pull request #27397 from taosdata/fix/TD-31597
fix(tdb/btree): use unsigned type for memcpy
This commit is contained in:
commit
adfa742ac6
|
@ -1133,7 +1133,7 @@ static int tdbBtreeEncodePayload(SPage *pPage, SCell *pCell, int nHeader, const
|
||||||
|
|
||||||
memcpy(pCell + nLocal - sizeof(pgno), &pgno, sizeof(pgno));
|
memcpy(pCell + nLocal - sizeof(pgno), &pgno, sizeof(pgno));
|
||||||
|
|
||||||
int lastKeyPageSpace = 0;
|
size_t lastKeyPageSpace = 0;
|
||||||
// pack left key & val to ovpages
|
// pack left key & val to ovpages
|
||||||
do {
|
do {
|
||||||
// cal key to cpy
|
// cal key to cpy
|
||||||
|
|
Loading…
Reference in New Issue