[td-11818] fix error.
This commit is contained in:
parent
3c88993c96
commit
f2d61c567c
|
@ -48,7 +48,7 @@ int main(int argc, char** argv) {
|
|||
}
|
||||
|
||||
TEST(testCase, driverInit_Test) { taos_init(); }
|
||||
#if 0
|
||||
|
||||
TEST(testCase, connect_Test) {
|
||||
TAOS* pConn = taos_connect("localhost", "root", "taosdata", NULL, 0);
|
||||
if (pConn == NULL) {
|
||||
|
@ -551,7 +551,7 @@ TEST(testCase, generated_request_id_test) {
|
|||
// taos_free_result(pRes);
|
||||
// taos_close(pConn);
|
||||
//}
|
||||
#endif
|
||||
//#endif
|
||||
|
||||
TEST(testCase, projection_query_tables) {
|
||||
TAOS* pConn = taos_connect("localhost", "root", "taosdata", NULL, 0);
|
||||
|
|
|
@ -64,9 +64,12 @@ int32_t qCreateQueryDag(const struct SQueryNode* pNode, struct SQueryDag** pDag,
|
|||
return code;
|
||||
}
|
||||
|
||||
char* str = NULL;
|
||||
queryPlanToString(logicPlan, &str);
|
||||
printf("%s\n", str);
|
||||
//
|
||||
if (logicPlan->info.type != QNODE_MODIFY) {
|
||||
// char* str = NULL;
|
||||
// queryPlanToString(logicPlan, &str);
|
||||
// printf("%s\n", str);
|
||||
}
|
||||
|
||||
code = optimizeQueryPlan(logicPlan);
|
||||
if (TSDB_CODE_SUCCESS != code) {
|
||||
|
|
Loading…
Reference in New Issue