diff --git a/CMakeLists.txt b/CMakeLists.txt index f1be916b3b966ac2954686a364d94a8939c6a503..fd542966cc73a450e48844ae7aa4c68225974f04 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,7 +27,7 @@ if(${BUILD_TEST}) endif(${BUILD_TEST}) add_subdirectory(source) add_subdirectory(tools) -#add_subdirectory(tests) +add_subdirectory(tests) add_subdirectory(example) # docs diff --git a/source/dnode/vnode/inc/tq.h b/source/dnode/vnode/inc/tq.h index df755574bf1bbce20791bb9de0f5a7b7bb07892d..9d396e0771237e0190027131db8e1cb26d8ba63f 100644 --- a/source/dnode/vnode/inc/tq.h +++ b/source/dnode/vnode/inc/tq.h @@ -37,7 +37,7 @@ extern "C" { typedef struct STQ STQ; -// memory allocator supported by vnode +// memory allocator provided by vnode typedef struct STqMemRef { SMemAllocatorFactory* pAllocatorFactory; SMemAllocator* pAllocator; @@ -51,7 +51,7 @@ void tqCleanUp(); STQ* tqOpen(const char* path, SWal* pWal, SMeta* pMeta, STqCfg* tqConfig, SMemAllocatorFactory* allocFac); void tqClose(STQ*); -// void* will be replace by a msg type +// required by vnode int tqPushMsg(STQ*, void* msg, int64_t version); int tqCommit(STQ*);