1
0
mirror of https://github.com/fumiama/fumidb.git synced 2026-06-07 19:40:24 +08:00

add table api

This commit is contained in:
源文雨
2022-05-03 17:36:09 +08:00
parent 05f6c7a3c4
commit 19e09bc630
5 changed files with 251 additions and 58 deletions

View File

@@ -32,7 +32,7 @@ static void* load_not_impl_index(int fd, uint64_t ptr, void* buf) {
// Function not implemented
static int remove_not_impl_index(int fd, void* index) {
errno = ENOSYS;
return 0;
return -2;
}
// Function not implemented
@@ -44,7 +44,7 @@ static uint64_t count_not_impl_items(int fd, void* index) {
// Function not implemented
static int insert_not_impl_item(int fd, void* index, key_t k, uint64_t ptr) {
errno = ENOSYS;
return 0;
return -2;
}
// Function not implemented