未验证 提交 23f0feca 编写于 作者: L Liu Jicong 提交者: GitHub

Update projectoperator.c

上级 29649171
......@@ -190,7 +190,7 @@ void printDataBlock1(SSDataBlock* pBlock, const char* flag) {
}
char* pBuf = NULL;
qDebug("%s", dumpBlockData(pBlock, flag, &pBuf));
taosMemoryFree(pBuf);
taosMemoryFreeClear(pBuf);
}
SSDataBlock* doProjectOperation(SOperatorInfo* pOperator) {
......@@ -241,7 +241,7 @@ SSDataBlock* doProjectOperation(SOperatorInfo* pOperator) {
// for stream interval
if (pBlock->info.type == STREAM_RETRIEVE) {
printDataBlock1(pBlock, "project1");
// printDataBlock1(pBlock, "project1");
return pBlock;
}
......@@ -316,7 +316,7 @@ SSDataBlock* doProjectOperation(SOperatorInfo* pOperator) {
pOperator->cost.openCost = (taosGetTimestampUs() - st) / 1000.0;
}
printDataBlock1(p, "project");
// printDataBlock1(p, "project");
return (p->info.rows > 0) ? p : NULL;
}
......@@ -601,4 +601,4 @@ SSDataBlock* doGenerateSourceData(SOperatorInfo* pOperator) {
}
return (pRes->info.rows > 0) ? pRes : NULL;
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册