From 9c2f84b0eb1f91c6cf9da00704eff516ea461ca1 Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Fri, 11 Mar 2022 07:20:18 +0000 Subject: [PATCH] more TDB --- source/libs/tdb/src/db/tdbPage.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/libs/tdb/src/db/tdbPage.c b/source/libs/tdb/src/db/tdbPage.c index c2e452a997..67592002d5 100644 --- a/source/libs/tdb/src/db/tdbPage.c +++ b/source/libs/tdb/src/db/tdbPage.c @@ -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;