提交 ab9ef134 编写于 作者: H Hongze Cheng

refact

上级 6d69cedd
......@@ -131,14 +131,25 @@ void vnodeOptionsInit(SVnodeCfg *pOptions);
void vnodeOptionsClear(SVnodeCfg *pOptions);
/* ------------------------ REQUESTS ------------------------ */
// Create table request
typedef STbCfg SVCreateTableReq;
typedef struct {
int err;
char info[];
} SVCreateTableRsp;
} SVnodeRsp;
/// Create table request
typedef STbCfg SVCreateTableReq;
/// Drop table request
typedef struct {
tb_uid_t uid;
} SVDropTableReq;
/// Alter table request
typedef struct {
// TODO
} SVAlterTableReq;
int vnodeCreateTable(SVnode *pVnode, SVCreateTableReq *pReq, SVnodeRsp *pRsp);
int vnodeDropTable(SVnode *pVnode, SVDropTableReq *pReq, SVnodeRsp *pRsp);
int vnodeAlterTable(SVnode *pVnode, SVAlterTableReq *pReq, SVnodeRsp *pRsp);
/* ------------------------ FOR COMPILE ------------------------ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册