more
This commit is contained in:
parent
ac87dcf966
commit
a20724f46e
|
@ -83,6 +83,7 @@ int vnodeApplyWMsg(SVnode *pVnode, SRpcMsg *pMsg, SRpcMsg **pRsp) {
|
||||||
if (metaCreateTable(pVnode->pMeta, pCreateTbReq) < 0) {
|
if (metaCreateTable(pVnode->pMeta, pCreateTbReq) < 0) {
|
||||||
// TODO: handle error
|
// TODO: handle error
|
||||||
}
|
}
|
||||||
|
vTrace("vgId:%d process create table %s", pVnode->vgId, pCreateTbReq->name);
|
||||||
if (pCreateTbReq->type == TD_SUPER_TABLE) {
|
if (pCreateTbReq->type == TD_SUPER_TABLE) {
|
||||||
free(pCreateTbReq->stbCfg.pSchema);
|
free(pCreateTbReq->stbCfg.pSchema);
|
||||||
free(pCreateTbReq->stbCfg.pTagSchema);
|
free(pCreateTbReq->stbCfg.pTagSchema);
|
||||||
|
|
|
@ -17,5 +17,5 @@ target_link_libraries(
|
||||||
)
|
)
|
||||||
|
|
||||||
if(${BUILD_TEST})
|
if(${BUILD_TEST})
|
||||||
add_subdirectory(test)
|
# add_subdirectory(test)
|
||||||
endif(${BUILD_TEST})
|
endif(${BUILD_TEST})
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
# tdbTest
|
||||||
|
add_executable(tdbTest "tdbTest.cpp")
|
||||||
|
target_link_libraries(tdbTest tdb gtest gtest_main)
|
Loading…
Reference in New Issue