more
This commit is contained in:
parent
841eae909a
commit
d0e645e4f5
|
@ -232,17 +232,4 @@ void metaTableOptsDestroy(STableOpts *pTableOpts) {
|
||||||
pTableOpts->type = META_INIT_TABLE;
|
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); }
|
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
|
|
|
@ -39,7 +39,7 @@ TEST(MetaTest, meta_create_1m_normal_tables_test) {
|
||||||
metaClose(meta);
|
metaClose(meta);
|
||||||
std::cout << "Meta is closed!" << std::endl;
|
std::cout << "Meta is closed!" << std::endl;
|
||||||
|
|
||||||
// // Destroy Meta
|
// Destroy Meta
|
||||||
// metaDestroy("meta");
|
metaDestroy("meta");
|
||||||
// std::cout << "Meta is destroyed!" << std::endl;
|
std::cout << "Meta is destroyed!" << std::endl;
|
||||||
}
|
}
|
Loading…
Reference in New Issue