fix: revert planner.c

This commit is contained in:
slzhou 2022-12-27 09:54:57 +08:00
parent 0bef5fdc38
commit fb4a6f508c
1 changed files with 3 additions and 1 deletions

View File

@ -20,10 +20,12 @@
#include "tglobal.h"
static void dumpQueryPlan(SQueryPlan* pPlan) {
if (!tsQueryPlannerTrace) {
return;
}
char* pStr = NULL;
nodesNodeToString((SNode*)pPlan, false, &pStr, NULL);
planDebugL("QID:0x%" PRIx64 " Query Plan: %s", pPlan->queryId, pStr);
printf("QueryPlan\n%s\n\n", pStr);
taosMemoryFree(pStr);
}