From 225fb597527172f3fa485e6bbab47e7cebfa8556 Mon Sep 17 00:00:00 2001 From: Shuduo Sang Date: Wed, 21 Jul 2021 18:55:28 +0800 Subject: [PATCH] Hotfix/sangshuduo/td 5306 taosdemo stmt autocreatetable 2 (#6958) * [TD-5300]: taosdemo stmt debug print. * fix default iface is unknown. * set thread name enabled on develop branch. --- src/kit/taosdemo/taosdemo.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/kit/taosdemo/taosdemo.c b/src/kit/taosdemo/taosdemo.c index d3ee573150..1630d6f895 100644 --- a/src/kit/taosdemo/taosdemo.c +++ b/src/kit/taosdemo/taosdemo.c @@ -55,6 +55,11 @@ #define STMT_IFACE_ENABLED 1 #define NANO_SECOND_ENABLED 1 +#define SET_THREADNAME_ENABLED 1 + +#if SET_THREADNAME_ENABLED == 0 +#define setThreadName(name) +#endif #define REQ_EXTRA_BUF_LEN 1024 #define RESP_BUF_LEN 4096 -- GitLab