fix: show normal tables core

This commit is contained in:
slzhou 2023-09-19 16:40:23 +08:00
parent f208eefdf2
commit bd2669b4f1
1 changed files with 3 additions and 0 deletions

View File

@ -1553,6 +1553,9 @@ SNode* createShowStmt(SAstCreateContext* pCxt, ENodeType type) {
}
SNode* setShowKind(SAstCreateContext* pCxt, SNode* pStmt, EShowKind showKind) {
if (pStmt == NULL) {
return NULL;
}
SShowStmt* pShow = (SShowStmt*)pStmt;
pShow->showKind = showKind;
return pStmt;