refact
This commit is contained in:
parent
7f26ac3de0
commit
330013c506
|
@ -22,9 +22,6 @@
|
||||||
|
|
||||||
static SMeta *metaNew(const char *path, const SMetaOptions *pMetaOptions);
|
static SMeta *metaNew(const char *path, const SMetaOptions *pMetaOptions);
|
||||||
static void metaFree(SMeta *pMeta);
|
static void metaFree(SMeta *pMeta);
|
||||||
static int metaCreateSuperTable(SMeta *pMeta, const char *tbname, const SSuperTableOpts *pSuperTableOpts);
|
|
||||||
static int metaCreateChildTable(SMeta *pMeta, const char *tbname, const SChildTableOpts *pChildTableOpts);
|
|
||||||
static int metaCreateNormalTable(SMeta *pMeta, const char *tbname, const SNormalTableOpts *pNormalTableOpts);
|
|
||||||
|
|
||||||
SMeta *metaOpen(const char *path, const SMetaOptions *pMetaOptions) {
|
SMeta *metaOpen(const char *path, const SMetaOptions *pMetaOptions) {
|
||||||
SMeta *pMeta = NULL;
|
SMeta *pMeta = NULL;
|
||||||
|
@ -101,6 +98,10 @@ static void metaFree(SMeta *pMeta) {
|
||||||
|
|
||||||
// OLD -------------------------------------------------------------------
|
// OLD -------------------------------------------------------------------
|
||||||
#if 0
|
#if 0
|
||||||
|
static int metaCreateSuperTable(SMeta *pMeta, const char *tbname, const SSuperTableOpts *pSuperTableOpts);
|
||||||
|
static int metaCreateChildTable(SMeta *pMeta, const char *tbname, const SChildTableOpts *pChildTableOpts);
|
||||||
|
static int metaCreateNormalTable(SMeta *pMeta, const char *tbname, const SNormalTableOpts *pNormalTableOpts);
|
||||||
|
|
||||||
int metaCreateTable(SMeta *pMeta, const STableOptions *pTableOpts) {
|
int metaCreateTable(SMeta *pMeta, const STableOptions *pTableOpts) {
|
||||||
size_t vallen;
|
size_t vallen;
|
||||||
char * pUid;
|
char * pUid;
|
||||||
|
|
Loading…
Reference in New Issue