more TDB
This commit is contained in:
parent
6f3743e187
commit
9663634555
|
@ -13,4 +13,14 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* 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;
|
||||||
|
}
|
|
@ -87,6 +87,10 @@ struct SPage {
|
||||||
#define TDB_GET_PAGE_REF(pPage) atomic_load_32(&((pPage)->nRef))
|
#define TDB_GET_PAGE_REF(pPage) atomic_load_32(&((pPage)->nRef))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// APIs
|
||||||
|
int tdbPageInsertCell(SPage *pPage, int idx, u8 *pCell, int szCell);
|
||||||
|
int tdbPageDropCell(SPage *pPage, int idx);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue