This commit is contained in:
Hongze Cheng 2022-03-11 07:20:18 +00:00
parent 69f5d9c829
commit 9c2f84b0eb
1 changed files with 4 additions and 0 deletions

View File

@ -70,6 +70,10 @@ int tdbPageInsertCell(SPage *pPage, int idx, SCell *pCell, int szCell) {
if (ret < 0) {
return -1;
}
memcpy(pTarget, pCell, szCell);
// TODO: memmove();
// pPage->pPaggHdr->nCells++;
}
return 0;