提交 9bfc7ba6 编写于 作者: X Xiaoyu Wang

fix: plan problem of create stream statement

上级 0f3a7e31
...@@ -2404,7 +2404,7 @@ static const SOptimizeRule optimizeRuleSet[] = { ...@@ -2404,7 +2404,7 @@ static const SOptimizeRule optimizeRuleSet[] = {
static const int32_t optimizeRuleNum = (sizeof(optimizeRuleSet) / sizeof(SOptimizeRule)); static const int32_t optimizeRuleNum = (sizeof(optimizeRuleSet) / sizeof(SOptimizeRule));
static void dumpLogicSubplan(const char* pRuleName, SLogicSubplan* pSubplan) { static void dumpLogicSubplan(const char* pRuleName, SLogicSubplan* pSubplan) {
if (0 == qDebugFlag & DEBUG_DEBUG) { if (0 == (qDebugFlag & DEBUG_DEBUG)) {
return; return;
} }
char* pStr = NULL; char* pStr = NULL;
......
...@@ -1423,7 +1423,7 @@ static const SSplitRule splitRuleSet[] = { ...@@ -1423,7 +1423,7 @@ static const SSplitRule splitRuleSet[] = {
static const int32_t splitRuleNum = (sizeof(splitRuleSet) / sizeof(SSplitRule)); static const int32_t splitRuleNum = (sizeof(splitRuleSet) / sizeof(SSplitRule));
static void dumpLogicSubplan(const char* pRuleName, SLogicSubplan* pSubplan) { static void dumpLogicSubplan(const char* pRuleName, SLogicSubplan* pSubplan) {
if (0 == qDebugFlag & DEBUG_DEBUG) { if (0 == (qDebugFlag & DEBUG_DEBUG)) {
return; return;
} }
char* pStr = NULL; char* pStr = NULL;
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include "scalar.h" #include "scalar.h"
static void dumpQueryPlan(SQueryPlan* pPlan) { static void dumpQueryPlan(SQueryPlan* pPlan) {
if (0 == qDebugFlag & DEBUG_DEBUG) { if (0 == (qDebugFlag & DEBUG_DEBUG)) {
return; return;
} }
char* pStr = NULL; char* pStr = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册