fix: user sysinfo
This commit is contained in:
parent
9576a999c6
commit
dce02868b7
|
@ -380,7 +380,10 @@ static int32_t getViewMetaImpl(SParseContext* pParCxt, SParseMetaCache* pMetaCac
|
|||
|
||||
int32_t getTargetMetaImpl(SParseContext* pParCxt, SParseMetaCache* pMetaCache, const SName* pName, STableMeta** pMeta, bool couldBeView) {
|
||||
int32_t code = TSDB_CODE_SUCCESS;
|
||||
|
||||
if (!pParCxt->enableSysInfo && IS_SYS_DBNAME(pName->dbname)) {
|
||||
code = TSDB_CODE_PAR_PERMISSION_DENIED;
|
||||
return code;
|
||||
}
|
||||
if (pParCxt->async) {
|
||||
code = getTableMetaFromCache(pMetaCache, pName, pMeta);
|
||||
#ifdef TD_ENTERPRISE
|
||||
|
|
Loading…
Reference in New Issue