Merge pull request #9523 from taosdata/feature/vnode

Feature/vnode
This commit is contained in:
Shengliang Guan 2021-12-31 10:03:54 +08:00 committed by GitHub
commit a771b4476d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -81,7 +81,7 @@ int metaOpenDB(SMeta *pMeta) {
return -1;
}
if (metaOpenBDBDb(&(pDB->pSchemaDB), pDB->pEvn, "meta.db", false) < 0) {
if (metaOpenBDBDb(&(pDB->pSchemaDB), pDB->pEvn, "schema.db", false) < 0) {
metaCloseDB(pMeta);
return -1;
}
@ -558,6 +558,12 @@ SMTbCursor *metaOpenTbCursor(SMeta *pMeta) {
pDB->pTbDB->cursor(pDB->pTbDB, NULL, &(pTbCur->pCur), 0);
#if 0
DB_BTREE_STAT *sp;
pDB->pTbDB->stat(pDB->pTbDB, NULL, &sp, 0);
printf("**************** %ld\n", sp->bt_nkeys);
#endif
return pTbCur;
}