Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
8d5bd9a8
T
TDengine
项目概览
taosdata
/
TDengine
大约 1 年 前同步成功
通知
1184
Star
22015
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
8d5bd9a8
编写于
7月 19, 2022
作者:
D
dapan1121
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: fix crash issue
上级
03e9b152
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
4 addition
and
16 deletion
+4
-16
source/client/src/tmq.c
source/client/src/tmq.c
+0
-1
source/libs/executor/src/executorimpl.c
source/libs/executor/src/executorimpl.c
+0
-1
source/libs/scheduler/inc/schInt.h
source/libs/scheduler/inc/schInt.h
+1
-2
source/libs/scheduler/src/schJob.c
source/libs/scheduler/src/schJob.c
+2
-1
source/libs/scheduler/src/schRemote.c
source/libs/scheduler/src/schRemote.c
+1
-2
source/libs/scheduler/src/schUtil.c
source/libs/scheduler/src/schUtil.c
+0
-9
未找到文件。
source/client/src/tmq.c
浏览文件 @
8d5bd9a8
...
...
@@ -1517,7 +1517,6 @@ int32_t tmqAskEp(tmq_t* tmq, bool async) {
sendInfo
->
requestId
=
generateRequestId
();
sendInfo
->
requestObjRefId
=
0
;
sendInfo
->
param
=
pParam
;
sendInfo
->
paramFreeFp
=
taosMemoryFree
;
sendInfo
->
fp
=
tmqAskEpCb
;
sendInfo
->
msgType
=
TDMT_MND_MQ_ASK_EP
;
...
...
source/libs/executor/src/executorimpl.c
浏览文件 @
8d5bd9a8
...
...
@@ -1986,7 +1986,6 @@ int32_t loadRemoteDataCallback(void* param, SDataBuf* pMsg, int32_t code) {
tsem_post
(
&
pExchangeInfo
->
ready
);
taosReleaseRef
(
exchangeObjRefPool
,
pWrapper
->
exchangeId
);
taosMemoryFree
(
pWrapper
);
return
TSDB_CODE_SUCCESS
;
}
...
...
source/libs/scheduler/inc/schInt.h
浏览文件 @
8d5bd9a8
...
...
@@ -277,7 +277,7 @@ typedef struct SSchJob {
bool
fetched
;
int32_t
resNumOfRows
;
SSchResInfo
userRes
;
c
onst
char
*
sql
;
c
har
*
sql
;
SQueryProfileSummary
summary
;
}
SSchJob
;
...
...
@@ -461,7 +461,6 @@ int32_t schJobFetchRows(SSchJob *pJob);
int32_t
schJobFetchRowsA
(
SSchJob
*
pJob
);
int32_t
schUpdateTaskHandle
(
SSchJob
*
pJob
,
SSchTask
*
pTask
,
bool
dropExecNode
,
void
*
handle
,
int32_t
execId
);
int32_t
schProcessOnTaskStatusRsp
(
SQueryNodeEpId
*
pEpId
,
SArray
*
pStatusList
);
void
schFreeSMsgSendInfo
(
SMsgSendInfo
*
msgSendInfo
);
char
*
schGetOpStr
(
SCH_OP_TYPE
type
);
int32_t
schBeginOperation
(
SSchJob
*
pJob
,
SCH_OP_TYPE
type
,
bool
sync
);
int32_t
schInitJob
(
int64_t
*
pJobId
,
SSchedulerReq
*
pReq
);
...
...
source/libs/scheduler/src/schJob.c
浏览文件 @
8d5bd9a8
...
...
@@ -675,6 +675,7 @@ void schFreeJobImpl(void *job) {
taosMemoryFreeClear
(
pJob
->
userRes
.
execRes
);
taosMemoryFreeClear
(
pJob
->
fetchRes
);
taosMemoryFreeClear
(
pJob
->
sql
);
taosMemoryFree
(
pJob
);
int32_t
jobNum
=
atomic_sub_fetch_32
(
&
schMgmt
.
jobNum
,
1
);
...
...
@@ -718,7 +719,7 @@ int32_t schInitJob(int64_t *pJobId, SSchedulerReq *pReq) {
pJob
->
attr
.
explainMode
=
pReq
->
pDag
->
explainInfo
.
mode
;
pJob
->
conn
=
*
pReq
->
pConn
;
pJob
->
sql
=
pReq
->
sql
;
pJob
->
sql
=
strdup
(
pReq
->
sql
)
;
pJob
->
pDag
=
pReq
->
pDag
;
pJob
->
chkKillFp
=
pReq
->
chkKillFp
;
pJob
->
chkKillParam
=
pReq
->
chkKillParam
;
...
...
source/libs/scheduler/src/schRemote.c
浏览文件 @
8d5bd9a8
...
...
@@ -863,8 +863,7 @@ _return:
}
if
(
pMsgSendInfo
)
{
taosMemoryFreeClear
(
pMsgSendInfo
->
param
);
taosMemoryFreeClear
(
pMsgSendInfo
);
destroySendMsgInfo
(
pMsgSendInfo
);
}
SCH_RET
(
code
);
...
...
source/libs/scheduler/src/schUtil.c
浏览文件 @
8d5bd9a8
...
...
@@ -292,15 +292,6 @@ void schFreeRpcCtx(SRpcCtx *pCtx) {
}
}
void
schFreeSMsgSendInfo
(
SMsgSendInfo
*
msgSendInfo
)
{
if
(
NULL
==
msgSendInfo
)
{
return
;
}
taosMemoryFree
(
msgSendInfo
->
param
);
taosMemoryFree
(
msgSendInfo
);
}
int32_t
schGetTaskFromList
(
SHashObj
*
pTaskList
,
uint64_t
taskId
,
SSchTask
**
pTask
)
{
int32_t
s
=
taosHashGetSize
(
pTaskList
);
if
(
s
<=
0
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录