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

more

上级 841eae90
......@@ -232,17 +232,4 @@ void metaTableOptsDestroy(STableOpts *pTableOpts) {
pTableOpts->type = META_INIT_TABLE;
}
#if 0
/* -------------------- Structures -------------------- */
static STable * metaTableNew(tb_uid_t uid, const char *name, int32_t sver);
void metaDestroy(const char *path) { taosRemoveDir(path); }
int metaCommit(SMeta *meta) { return 0; }
void metaTableOptsInit(STableOpts *pTableOpts, int8_t type, const char *name, const STSchema *pSchema) {
pTableOpts->type = type;
pTableOpts->name = strdup(name);
pTableOpts->pSchema = tdDupSchema(pSchema);
}
#endif
\ No newline at end of file
......@@ -39,7 +39,7 @@ TEST(MetaTest, meta_create_1m_normal_tables_test) {
metaClose(meta);
std::cout << "Meta is closed!" << std::endl;
// // Destroy Meta
// metaDestroy("meta");
// std::cout << "Meta is destroyed!" << std::endl;
// Destroy Meta
metaDestroy("meta");
std::cout << "Meta is destroyed!" << std::endl;
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册