From 7b997b44331d01124f2920dd510beec04bc14ca4 Mon Sep 17 00:00:00 2001 From: wangmm0220 Date: Sat, 22 Jun 2024 15:38:24 +0800 Subject: [PATCH] fix:[TS-4921] print slow log scope --- include/common/tglobal.h | 2 +- source/common/test/commonTests.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/common/tglobal.h b/include/common/tglobal.h index 74a2ae4f29..0548820195 100644 --- a/include/common/tglobal.h +++ b/include/common/tglobal.h @@ -28,7 +28,7 @@ extern "C" { #define SLOW_LOG_TYPE_QUERY 0x1 #define SLOW_LOG_TYPE_INSERT 0x2 #define SLOW_LOG_TYPE_OTHERS 0x4 -#define SLOW_LOG_TYPE_ALL 0xFFFFFFFF +#define SLOW_LOG_TYPE_ALL 0x7 typedef enum { DND_CA_SM4 = 1, diff --git a/source/common/test/commonTests.cpp b/source/common/test/commonTests.cpp index af7f3c373f..197ccdb6ca 100644 --- a/source/common/test/commonTests.cpp +++ b/source/common/test/commonTests.cpp @@ -730,7 +730,7 @@ TEST(AlreadyAddGroupIdTest, GroupIdAddedWithDifferentLength) { #define SLOW_LOG_TYPE_QUERY 0x1 #define SLOW_LOG_TYPE_INSERT 0x2 #define SLOW_LOG_TYPE_OTHERS 0x4 -#define SLOW_LOG_TYPE_ALL 0xFFFFFFFF +#define SLOW_LOG_TYPE_ALL 0x7 static int32_t taosSetSlowLogScope(char *pScope) { if (NULL == pScope || 0 == strlen(pScope)) {