This commit is contained in:
Hongze Cheng 2022-03-09 08:59:17 +00:00
parent 6f3743e187
commit 9663634555
2 changed files with 15 additions and 1 deletions

View File

@ -13,4 +13,14 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "tdbInt.h"
#include "tdbInt.h"
int tdbPageInsertCell(SPage *pPage, int idx, u8 *pCell, int szCell) {
// TODO
return 0;
}
int tdbPageDropCell(SPage *pPage, int idx) {
// TODO
return 0;
}

View File

@ -87,6 +87,10 @@ struct SPage {
#define TDB_GET_PAGE_REF(pPage) atomic_load_32(&((pPage)->nRef))
#endif
// APIs
int tdbPageInsertCell(SPage *pPage, int idx, u8 *pCell, int szCell);
int tdbPageDropCell(SPage *pPage, int idx);
#ifdef __cplusplus
}
#endif