diff --git a/src/mnode/src/mgmtDb.c b/src/mnode/src/mgmtDb.c index 4678247e69e18d38c5aa43694fa4ff2e17046e3d..1924e85f7bb3233135161d16cd13cc1f5097ea52 100644 --- a/src/mnode/src/mgmtDb.c +++ b/src/mnode/src/mgmtDb.c @@ -33,7 +33,7 @@ #include "mgmtUser.h" #include "mgmtVgroup.h" -static void * tsDbSdb = NULL; +void * tsDbSdb = NULL; static int32_t tsDbUpdateSize; static int32_t mgmtCreateDb(SAcctObj *pAcct, SCMCreateDbMsg *pCreate); diff --git a/src/mnode/src/mgmtTable.c b/src/mnode/src/mgmtTable.c index 00328c212a7f5b4e6ee4b10f2f3477481df61dfd..16c801416b8708521ae58a23b8099b1243d1dfe3 100644 --- a/src/mnode/src/mgmtTable.c +++ b/src/mnode/src/mgmtTable.c @@ -45,8 +45,8 @@ #include "mgmtUser.h" #include "mgmtVgroup.h" -static void * tsChildTableSdb; -static void * tsSuperTableSdb; +void * tsChildTableSdb; +void * tsSuperTableSdb; static int32_t tsChildTableUpdateSize; static int32_t tsSuperTableUpdateSize; static void * mgmtGetChildTable(char *tableId); diff --git a/src/mnode/src/mgmtUser.c b/src/mnode/src/mgmtUser.c index 04b2a9ad2b7d6b20df5f46bc2096027b2b311dfc..1eac58a5ea20153d5ec1068ef77dbc6ff3e4b3c3 100644 --- a/src/mnode/src/mgmtUser.c +++ b/src/mnode/src/mgmtUser.c @@ -25,7 +25,7 @@ #include "mgmtShell.h" #include "mgmtUser.h" -static void * tsUserSdb = NULL; +void * tsUserSdb = NULL; static int32_t tsUserUpdateSize = 0; static int32_t mgmtGetUserMeta(STableMetaMsg *pMeta, SShowObj *pShow, void *pConn); static int32_t mgmtRetrieveUsers(SShowObj *pShow, char *data, int32_t rows, void *pConn);